PALUNEXA
Back to the atlas

COLOR FIELD NOTES

Blue
#0000ff

Color names, HEX, RGB, HSL or OKLCH. No account needed.

Selected color · sRGB#0000ff
The numbers behind the color · RGB / HSL / OKLCH
HEX
#0000ff
RGB
rgb(0, 0, 255)
HSL
hsl(240, 100%, 50%)
OKLCH
oklch(0.45201372 0.31321437 264.052021)

What makes this color different?

This is the sRGB blue primary, not a pale sky blue. A fully active blue channel gives it an intense appearance while its relative luminance is much lower than that of the green primary.

This HEX also has a CSS keyword name.

Better together.

Complementary

Two colors, 180° apart. A clear contrast across the HSL color wheel.

Analogous

Neighbors at −30°, 0° and +30°. A close-knit family of hues.

Triadic

Three hues at 0°, 120° and 240°. An evenly spaced triangle on the HSL wheel.

A practical design example

Try it as a link or a compact graphic accent on a light page. Underline links or otherwise distinguish them from body text so that interaction is not communicated by color alone.

Design advice is context-dependent. It is separate from the numeric calculations.

What to check before using it

A bright-looking blue is not necessarily light in a luminance calculation. Compare both white and black text below rather than selecting a foreground by apparent vividness.

Make it readable. / CSS
Contrast ratio · #0000ff
Selected colorContrast ratioNormal text · AA
Black2.44:1Below target
White8.59:1Pass

CSS you can use

.color-surface {
  background: #0000ff;
  color: #ffffff;
}

Questions and direct answers

What are the values of #0000ff?

#0000ff is rgb(0, 0, 255), hsl(240, 100%, 50%), and oklch(0.45201372 0.31321437 264.052021). These values are calculated from the same opaque sRGB color.

Which text color is more readable on #0000ff?

Black has 2.44:1 contrast and white has 8.59:1. Of these two, White has the higher contrast. Normal-text AA requires at least 4.5:1.

How is the complementary palette calculated?

The engine rotates HSL hue by 180° and keeps saturation and lightness. For this color the result is #0000ff, #ffff00. Achromatic colors stay neutral.

Why does blue look darker than lime at the same HSL lightness?

HSL lightness is based on RGB channel extrema, not perceived brightness. WCAG relative luminance weights the channels differently, and OKLCH provides another way to compare perceived lightness.

Explore this color in the studio

02 / COLOR COMPANIONS

Better together.

Find a different perspective on your color with a little color theory.

#0000ff

The base color is the anchor. Locks and the base color stay unchanged.

Export palette CSS

Neighbors at −30°, 0° and +30°. A close-knit family of hues.

01COMPANION
#0080ffrgb(0, 128, 255)oklch(0.61516536 0.21081891 256.098958)
Contrast ratio: 5.53:1
02BASE
#0000ffrgb(0, 0, 255)oklch(0.45201372 0.31321437 264.052021)
Contrast ratio: 8.59:1
03COMPANION
#8000ffrgb(128, 0, 255)oklch(0.53045702 0.29311856 293.937641)
Contrast ratio: 6.25:1
HSL / Analogous
Color values & advanced tools

Selected color / #0000FF

The numbers behind the color

One color, four ways to describe it.

HEX
#0000ff
RGB
rgb(0, 0, 255)
HSL
hsl(240, 100%, 50%)
OKLCH
oklch(0.45201372 0.31321437 264.052021)
Hue
240.00°
Saturation
100.00%
Lightness
50.00%
Where this harmony might work

Design suggestions below are subjective. Hue angles and contrast ratios are calculated facts.

Suggested use
Editorial pages, lifestyle brands and calm interfaces.
Strength
Neighboring hues create a related visual rhythm.
Considerations
Similar hues can blur boundaries; add labels and neutral spacing.
Design example
Use the middle hue for a hero panel and its neighbors for decorative cards.
OKLCH · Perceptual adjustments

Adjust lightness and chroma of unlocked companions in OKLCH. HSL hue spacing can change. Preview the result before applying.

Current palette
Adjusted preview

Colors needing sRGB chroma reduction: 0

The base color is the anchor. Locks and the base color stay unchanged.

Compare with the original HSL harmony

These are the unedited theory colors. Compare their HEX and OKLCH values with the edited palette above.

#0080ffoklch(0.61516536 0.21081891 256.098958)#0000ffoklch(0.45201372 0.31321437 264.052021)#8000ffoklch(0.53045702 0.29311856 293.937641)
Palette CSS
:root {
  --palette-1: #0080ff;
  --palette-2: #0000ff;
  --palette-3: #8000ff;
}
Live design preview

03 / IN CONTEXT

Put it into perspective.

Real CSS. Your colors. A small glimpse of what comes next.

Palette role mapping

Rendered text pair #ffffff / #0000ff · 8.59:1

your-next-idea.design
FORM & FIELDIndependent ideas. Considered colors.
STUDIO FOR EVERYDAY IDEAS

Room for a fresh perspective.

Thoughtfully made things start with a little curiosity.

Discover the collection

The palette text/background pair is below normal-text AA.

#8000ff / #0000ff · 1.38:1 · Normal text · AA

Suggested text color: #ffffff (8.59:1).

Displayed text contrast: 8.59:1 · Accessible text alternatives affect only the preview. Your palette stays unchanged.

The tested pair is used on colored buttons, cards, KPIs and slide bands. Other template text uses #262a23 (13.18:1) or #55594f (6.47:1) on #f6f3ec. Charts have numbered labels. This is not a complete accessibility audit.

Text contrast checker

Accessibility / WCAG AA

Make it readable.

Check the selected color against your text or background color.

AA requires 4.5:1 for normal text and 3:1 for large text. This checks color contrast, not full WCAG compliance.

Aa

Color should be seen. Words should be read.

#0000ff / #ffffff
Contrast ratio8.59:1
  • Normal text · AAPass
  • Large text · AAPass
  • Normal text · AAAPass
  • Large text · AAAPass

A little theory. A lot to explore.

PALUNEXA rotates hues on the HSL color wheel and keeps saturation and lightness unchanged. Monochromatic palettes vary lightness instead. Harmony is a starting point for design, not a guarantee of aesthetic fit.

Back to the atlas