#2F438F#2F438F
#2F438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.128 H 269.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F438F |
|---|---|
| RGB | rgb(47, 67, 143) |
| HSL | hsl(228, 51%, 37%) |
| HSV | hsv(228, 67%, 56%) |
| CMYK | cmyk(67.1%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.88, 18.28, -44.55) |
| CIE-LCH | lch(30.88, 48.16, 292.31°) |
| OKLab | oklab(41.09% -0.0022 -0.1279) |
| OKLCH | oklch(41.09% 0.128 269) |
| XYZ | xyz(8.1357, 6.6011, 26.8267) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.65
Blueberry
#464196
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F438F #8F7B2F
analogous
#2F738F #2F438F #4B2F8F
triadic
#2F438F #8F2F43 #438F2F
tetradic
#2F438F #8F2F73 #8F7B2F #2F8F4B
square
#2F438F #8F2F73 #8F7B2F #2F8F4B
split-complementary
#2F438F #8F4B2F #738F2F
monochromatic
#111833 #202D61 #2F438F #3E59BD #6A7FCE
Accessibility & contrast
On white
9.05
#2F438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F438F
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F438F | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f438f; /* rgb */ color: rgb(47, 67, 143); /* oklch */ color: oklch(41.1% 0.128 269.0);
Tailwind
colors: {
custom: {
50: '#7376b0',
500: '#2f438f',
950: '#000000',
},
}SCSS
$custom: #2f438f; $custom-light: #7376b0; $custom-dark: #000000;
JSON
{
"hex": "#2f438f",
"rgb": {
"r": 47,
"g": 67,
"b": 143
},
"hsl": {
"h": 227.5,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.41093,
"c": 0.12789,
"h": 269
},
"luminance": 0.06602
}Semantic roles & 50–950 ramp
primary
#2F438F
secondary
#B5A465
accent
#BD4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F