#2D438C#2D438C
#2D438C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.124 H 267.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2D438C |
|---|---|
| RGB | rgb(45, 67, 140) |
| HSL | hsl(226, 51%, 36%) |
| HSV | hsv(226, 68%, 55%) |
| CMYK | cmyk(67.9%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.56, 16.80, -43.24) |
| CIE-LCH | lch(30.56, 46.39, 291.24°) |
| OKLab | oklab(40.75% -0.0045 -0.124) |
| OKLCH | oklch(40.75% 0.124 267.9) |
| XYZ | xyz(7.8213, 6.4649, 25.6415) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.29
Darkish Blue
#014182
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.10
Blueberry
#464196
ΔE00 5.31
Twilight Blue
#0A437A
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D438C #8C762D
analogous
#2D738C #2D438C #472D8C
triadic
#2D438C #8C2D43 #438C2D
tetradic
#2D438C #8C2D73 #8C762D #2D8C47
square
#2D438C #8C2D73 #8C762D #2D8C47
split-complementary
#2D438C #8C472D #738C2D
monochromatic
#0F172F #1E2D5E #2D438C #3C59BA #667ECE
Accessibility & contrast
On white
9.16
#2D438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2D438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D438C
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D438C | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d438c; /* rgb */ color: rgb(45, 67, 140); /* oklch */ color: oklch(40.7% 0.124 267.9);
Tailwind
colors: {
custom: {
50: '#7176ae',
500: '#2d438c',
950: '#000000',
},
}SCSS
$custom: #2d438c; $custom-light: #7176ae; $custom-dark: #000000;
JSON
{
"hex": "#2d438c",
"rgb": {
"r": 45,
"g": 67,
"b": 140
},
"hsl": {
"h": 226.105,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.40749,
"c": 0.12412,
"h": 267.9
},
"luminance": 0.06466
}Semantic roles & 50–950 ramp
primary
#2D438C
secondary
#B4A160
accent
#BA4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F