#2F438D#2F438D
#2F438D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.125 H 268.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F438D |
|---|---|
| RGB | rgb(47, 67, 141) |
| HSL | hsl(227, 50%, 37%) |
| HSV | hsv(227, 67%, 55%) |
| CMYK | cmyk(66.7%, 52.5%, 0%, 44.7%) |
| CIE-LAB | lab(30.74, 17.53, -43.55) |
| CIE-LCH | lch(30.74, 46.95, 291.93°) |
| OKLab | oklab(40.94% -0.0024 -0.1249) |
| OKLCH | oklch(40.94% 0.125 268.9) |
| XYZ | xyz(7.9855, 6.5410, 26.0358) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.60
Blueberry
#464196
ΔE00 4.92
Cobalt
#0047AB
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 6.07
Sapphire (survey)
#2138AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F438D #8D792F
analogous
#2F728D #2F438D #4A2F8D
triadic
#2F438D #8D2F43 #438D2F
tetradic
#2F438D #8D2F72 #8D792F #2F8D4A
square
#2F438D #8D2F72 #8D792F #2F8D4A
split-complementary
#2F438D #8D4A2F #728D2F
monochromatic
#101731 #202D5F #2F438D #3E59BB #697FCD
Accessibility & contrast
On white
9.10
#2F438D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F438D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F438D
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F438D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F438D | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f438d; /* rgb */ color: rgb(47, 67, 141); /* oklch */ color: oklch(40.9% 0.125 268.9);
Tailwind
colors: {
custom: {
50: '#7276af',
500: '#2f438d',
950: '#000000',
},
}SCSS
$custom: #2f438d; $custom-light: #7276af; $custom-dark: #000000;
JSON
{
"hex": "#2f438d",
"rgb": {
"r": 47,
"g": 67,
"b": 141
},
"hsl": {
"h": 227.234,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.40939,
"c": 0.12495,
"h": 268.9
},
"luminance": 0.06542
}Semantic roles & 50–950 ramp
primary
#2F438D
secondary
#B4A364
accent
#BC4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F