#2F438C#2F438C
#2F438C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.123 H 268.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F438C |
|---|---|
| RGB | rgb(47, 67, 140) |
| HSL | hsl(227, 50%, 37%) |
| HSV | hsv(227, 66%, 55%) |
| CMYK | cmyk(66.4%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.67, 17.16, -43.05) |
| CIE-LCH | lch(30.67, 46.35, 291.73°) |
| OKLab | oklab(40.86% -0.0025 -0.1234) |
| OKLCH | oklch(40.86% 0.123 268.9) |
| XYZ | xyz(7.9115, 6.5114, 25.6458) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.58
Blueberry
#464196
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.25
Cobalt
#0047AB
ΔE00 5.31
Twilight Blue
#0A437A
ΔE00 6.07
Darkslateblue
#483D8B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F438C #8C782F
analogous
#2F728C #2F438C #4A2F8C
triadic
#2F438C #8C2F43 #438C2F
tetradic
#2F438C #8C2F72 #8C782F #2F8C4A
square
#2F438C #8C2F72 #8C782F #2F8C4A
split-complementary
#2F438C #8C4A2F #728C2F
monochromatic
#101730 #202D5E #2F438C #3E59BA #697ECD
Accessibility & contrast
On white
9.12
#2F438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F438C
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F438C | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f438c; /* rgb */ color: rgb(47, 67, 140); /* oklch */ color: oklch(40.9% 0.123 268.9);
Tailwind
colors: {
custom: {
50: '#7276ae',
500: '#2f438c',
950: '#000000',
},
}SCSS
$custom: #2f438c; $custom-light: #7276ae; $custom-dark: #000000;
JSON
{
"hex": "#2f438c",
"rgb": {
"r": 47,
"g": 67,
"b": 140
},
"hsl": {
"h": 227.097,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.40863,
"c": 0.12347,
"h": 268.9
},
"luminance": 0.06512
}Semantic roles & 50–950 ramp
primary
#2F438C
secondary
#B4A263
accent
#BB4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F