#2F438B#2F438B
#2F438B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.122 H 268.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F438B |
|---|---|
| RGB | rgb(47, 67, 139) |
| HSL | hsl(227, 49%, 36%) |
| HSV | hsv(227, 66%, 55%) |
| CMYK | cmyk(66.2%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(30.60, 16.78, -42.55) |
| CIE-LCH | lch(30.60, 45.74, 291.53°) |
| OKLab | oklab(40.79% -0.0026 -0.122) |
| OKLCH | oklch(40.79% 0.122 268.8) |
| XYZ | xyz(7.8381, 6.4820, 25.2592) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.58
Blueberry
#464196
ΔE00 5.08
Darkish Blue
#014182
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.41
Twilight Blue
#0A437A
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F438B #8B772F
analogous
#2F718B #2F438B #492F8B
triadic
#2F438B #8B2F43 #438B2F
tetradic
#2F438B #8B2F71 #8B772F #2F8B49
square
#2F438B #8B2F71 #8B772F #2F8B49
split-complementary
#2F438B #8B492F #718B2F
monochromatic
#101730 #202D5D #2F438B #3E59B9 #687ECC
Accessibility & contrast
On white
9.14
#2F438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F438B
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F438B | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f438b; /* rgb */ color: rgb(47, 67, 139); /* oklch */ color: oklch(40.8% 0.122 268.8);
Tailwind
colors: {
custom: {
50: '#7276ad',
500: '#2f438b',
950: '#000000',
},
}SCSS
$custom: #2f438b; $custom-light: #7276ad; $custom-dark: #000000;
JSON
{
"hex": "#2f438b",
"rgb": {
"r": 47,
"g": 67,
"b": 139
},
"hsl": {
"h": 226.957,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.40788,
"c": 0.12201,
"h": 268.8
},
"luminance": 0.06483
}Semantic roles & 50–950 ramp
primary
#2F438B
secondary
#B3A263
accent
#BB4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F