#2D368C#2D368C
#2D368C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.141 H 273.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2D368C |
|---|---|
| RGB | rgb(45, 54, 140) |
| HSL | hsl(234, 51%, 36%) |
| HSV | hsv(234, 68%, 55%) |
| CMYK | cmyk(67.9%, 61.4%, 0%, 45.1%) |
| CIE-LAB | lab(26.99, 25.62, -49.02) |
| CIE-LCH | lch(26.99, 55.31, 297.59°) |
| OKLab | oklab(38.07% 0.0077 -0.1412) |
| OKLCH | oklch(38.07% 0.141 273.1) |
| XYZ | xyz(7.1334, 5.0890, 25.4122) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.61
Blueberry
#464196
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 7.46
Cobalt
#0047AB
ΔE00 7.76
Darkish Blue
#014182
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D368C #8C832D
analogous
#2D668C #2D368C #542D8C
triadic
#2D368C #8C2D36 #368C2D
tetradic
#2D368C #8C2D66 #8C832D #2D8C54
square
#2D368C #8C2D66 #8C832D #2D8C54
split-complementary
#2D368C #8C542D #668C2D
monochromatic
#0F122F #1E245E #2D368C #3C48BA #6670CE
Accessibility & contrast
On white
10.41
#2D368C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2D368C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D368C
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D368C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D368C | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2d368c; /* rgb */ color: rgb(45, 54, 140); /* oklch */ color: oklch(38.1% 0.141 273.1);
Tailwind
colors: {
custom: {
50: '#726dae',
500: '#2d368c',
950: '#000000',
},
}SCSS
$custom: #2d368c; $custom-light: #726dae; $custom-dark: #000000;
JSON
{
"hex": "#2d368c",
"rgb": {
"r": 45,
"g": 54,
"b": 140
},
"hsl": {
"h": 234.316,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.38073,
"c": 0.14144,
"h": 273.1
},
"luminance": 0.0509
}Semantic roles & 50–950 ramp
primary
#2D368C
secondary
#B4AC60
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F