#2F439C#2F439C
#2F439C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.147 H 269.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F439C |
|---|---|
| RGB | rgb(47, 67, 156) |
| HSL | hsl(229, 54%, 40%) |
| HSV | hsv(229, 70%, 61%) |
| CMYK | cmyk(69.9%, 57.1%, 0%, 38.8%) |
| CIE-LAB | lab(31.85, 23.15, -50.91) |
| CIE-LCH | lch(31.85, 55.93, 294.45°) |
| OKLab | oklab(42.13% -0.0013 -0.1466) |
| OKLCH | oklch(42.13% 0.147 269.5) |
| XYZ | xyz(9.1781, 7.0181, 32.3170) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 4.24
Blueberry
#464196
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F439C #9C882F
analogous
#2F7A9C #2F439C #522F9C
triadic
#2F439C #9C2F43 #439C2F
tetradic
#2F439C #9C2F7A #9C882F #2F9C52
square
#2F439C #9C2F7A #9C882F #2F9C52
split-complementary
#2F439C #9C522F #7A9C2F
monochromatic
#131B3E #212F6D #2F439C #425AC6 #7183D4
Accessibility & contrast
On white
8.74
#2F439C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F439C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F439C
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F439C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F439C | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f439c; /* rgb */ color: rgb(47, 67, 156); /* oklch */ color: oklch(42.1% 0.147 269.5);
Tailwind
colors: {
custom: {
50: '#7676ba',
500: '#2f439c',
950: '#000000',
},
}SCSS
$custom: #2f439c; $custom-light: #7676ba; $custom-dark: #000000;
JSON
{
"hex": "#2f439c",
"rgb": {
"r": 47,
"g": 67,
"b": 156
},
"hsl": {
"h": 228.991,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.42127,
"c": 0.14659,
"h": 269.5
},
"luminance": 0.07019
}Semantic roles & 50–950 ramp
primary
#2F439C
secondary
#BCAD6B
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81