#2F438E#2F438E
#2F438E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.126 H 269.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F438E |
|---|---|
| RGB | rgb(47, 67, 142) |
| HSL | hsl(227, 50%, 37%) |
| HSV | hsv(227, 67%, 56%) |
| CMYK | cmyk(66.9%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.81, 17.91, -44.05) |
| CIE-LCH | lch(30.81, 47.55, 292.12°) |
| OKLab | oklab(41.02% -0.0023 -0.1264) |
| OKLCH | oklch(41.02% 0.126 269) |
| XYZ | xyz(8.0603, 6.5709, 26.4295) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.62
Blueberry
#464196
ΔE00 4.84
Cobalt
#0047AB
ΔE00 5.10
Darkish Blue
#014182
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F438E #8E7A2F
analogous
#2F738E #2F438E #4A2F8E
triadic
#2F438E #8E2F43 #438E2F
tetradic
#2F438E #8E2F73 #8E7A2F #2F8E4A
square
#2F438E #8E2F73 #8E7A2F #2F8E4A
split-complementary
#2F438E #8E4A2F #738E2F
monochromatic
#111832 #202D60 #2F438E #3E59BC #6A7FCE
Accessibility & contrast
On white
9.07
#2F438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F438E
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F438E | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f438e; /* rgb */ color: rgb(47, 67, 142); /* oklch */ color: oklch(41.0% 0.126 269.0);
Tailwind
colors: {
custom: {
50: '#7376b0',
500: '#2f438e',
950: '#000000',
},
}SCSS
$custom: #2f438e; $custom-light: #7376b0; $custom-dark: #000000;
JSON
{
"hex": "#2f438e",
"rgb": {
"r": 47,
"g": 67,
"b": 142
},
"hsl": {
"h": 227.368,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.41016,
"c": 0.12642,
"h": 269
},
"luminance": 0.06572
}Semantic roles & 50–950 ramp
primary
#2F438E
secondary
#B5A464
accent
#BC4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F