#2D438F#2D438F
#2D438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.129 H 268.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2D438F |
|---|---|
| RGB | rgb(45, 67, 143) |
| HSL | hsl(227, 52%, 37%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(68.5%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.77, 17.94, -44.74) |
| CIE-LCH | lch(30.77, 48.20, 291.85°) |
| OKLab | oklab(40.98% -0.0042 -0.1284) |
| OKLCH | oklch(40.98% 0.129 268.1) |
| XYZ | xyz(8.0456, 6.5546, 26.8224) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.37
Cobalt
#0047AB
ΔE00 4.79
Blueberry
#464196
ΔE00 5.08
Darkish Blue
#014182
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.85
Twilight Blue
#0A437A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D438F #8F792D
analogous
#2D748F #2D438F #482D8F
triadic
#2D438F #8F2D43 #438F2D
tetradic
#2D438F #8F2D74 #8F792D #2D8F48
square
#2D438F #8F2D74 #8F792D #2D8F48
split-complementary
#2D438F #8F482D #748F2D
monochromatic
#101732 #1E2D60 #2D438F #3C59BE #677FCF
Accessibility & contrast
On white
9.09
#2D438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2D438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D438F
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D438F | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d438f; /* rgb */ color: rgb(45, 67, 143); /* oklch */ color: oklch(41.0% 0.129 268.1);
Tailwind
colors: {
custom: {
50: '#7276b0',
500: '#2d438f',
950: '#000000',
},
}SCSS
$custom: #2d438f; $custom-light: #7276b0; $custom-dark: #000000;
JSON
{
"hex": "#2d438f",
"rgb": {
"r": 45,
"g": 67,
"b": 143
},
"hsl": {
"h": 226.531,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.4098,
"c": 0.12852,
"h": 268.1
},
"luminance": 0.06555
}Semantic roles & 50–950 ramp
primary
#2D438F
secondary
#B6A362
accent
#BB4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F