#2D307C#2D307C
#2D307C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.126 H 276.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2D307C |
|---|---|
| RGB | rgb(45, 48, 124) |
| HSL | hsl(238, 47%, 33%) |
| HSV | hsv(238, 64%, 49%) |
| CMYK | cmyk(63.7%, 61.3%, 0%, 51.4%) |
| CIE-LAB | lab(24.09, 23.79, -43.73) |
| CIE-LCH | lch(24.09, 49.78, 298.55°) |
| OKLab | oklab(35.51% 0.0135 -0.1257) |
| OKLCH | oklch(35.51% 0.126 276.1) |
| XYZ | xyz(5.7760, 4.1266, 19.5570) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Blueberry
#464196
ΔE00 6.43
Midnight Blue
#191970
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 7.33
Marine
#042E60
ΔE00 7.62
Royal
#0C1793
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D307C #7C792D
analogous
#2D577C #2D307C #512D7C
triadic
#2D307C #7C2D30 #307C2D
tetradic
#2D307C #7C2D57 #7C792D #2D7C51
square
#2D307C #7C2D57 #7C792D #2D7C51
split-complementary
#2D307C #7C512D #577C2D
monochromatic
#0C0D22 #1D1F4F #2D307C #3D41A9 #5F62C5
Accessibility & contrast
On white
11.50
#2D307C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2D307C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D307C
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D307C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D307C | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d307c; /* rgb */ color: rgb(45, 48, 124); /* oklch */ color: oklch(35.5% 0.126 276.1);
Tailwind
colors: {
custom: {
50: '#6f68a3',
500: '#2d307c',
950: '#000000',
},
}SCSS
$custom: #2d307c; $custom-light: #6f68a3; $custom-dark: #000000;
JSON
{
"hex": "#2d307c",
"rgb": {
"r": 45,
"g": 48,
"b": 124
},
"hsl": {
"h": 237.722,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.35511,
"c": 0.12646,
"h": 276.1
},
"luminance": 0.04127
}Semantic roles & 50–950 ramp
primary
#2D307C
secondary
#ABA85A
accent
#D151D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F