#2F339F#2F339F
#2F339F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.171 H 273.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F339F |
|---|---|
| RGB | rgb(47, 51, 159) |
| HSL | hsl(238, 54%, 40%) |
| HSV | hsv(238, 70%, 62%) |
| CMYK | cmyk(70.4%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(28.05, 34.72, -58.94) |
| CIE-LCH | lch(28.05, 68.41, 300.50°) |
| OKLab | oklab(39.4% 0.0111 -0.1703) |
| OKLCH | oklch(39.4% 0.171 273.7) |
| XYZ | xyz(8.6120, 5.4744, 33.3970) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blueberry
#464196
ΔE00 5.18
Darkslateblue
#483D8B
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.30
Indigo Blue
#3A18B1
ΔE00 6.59
Blue Blue
#2242C7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F339F #9F9B2F
analogous
#2F6B9F #2F339F #632F9F
triadic
#2F339F #9F2F33 #339F2F
tetradic
#2F339F #9F2F6B #9F9B2F #2F9F63
square
#2F339F #9F2F6B #9F9B2F #2F9F63
split-complementary
#2F339F #9F632F #6B9F2F
monochromatic
#131541 #212470 #2F339F #4448C8 #7376D6
Accessibility & contrast
On white
10.02
#2F339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F339F
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F339F | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f339f; /* rgb */ color: rgb(47, 51, 159); /* oklch */ color: oklch(39.4% 0.171 273.7);
Tailwind
colors: {
custom: {
50: '#776bbc',
500: '#2f339f',
950: '#000000',
},
}SCSS
$custom: #2f339f; $custom-light: #776bbc; $custom-dark: #000000;
JSON
{
"hex": "#2f339f",
"rgb": {
"r": 47,
"g": 51,
"b": 159
},
"hsl": {
"h": 237.857,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.394,
"c": 0.17064,
"h": 273.7
},
"luminance": 0.05475
}Semantic roles & 50–950 ramp
primary
#2F339F
secondary
#BDBA6D
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81