#30438E#30438E
#30438E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.126 H 269.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #30438E |
|---|---|
| RGB | rgb(48, 67, 142) |
| HSL | hsl(228, 49%, 37%) |
| HSV | hsv(228, 66%, 56%) |
| CMYK | cmyk(66.2%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.87, 18.08, -43.96) |
| CIE-LCH | lch(30.87, 47.53, 292.36°) |
| OKLab | oklab(41.07% -0.0012 -0.1261) |
| OKLCH | oklch(41.07% 0.126 269.4) |
| XYZ | xyz(8.1069, 6.5950, 26.4317) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.77
Blueberry
#464196
ΔE00 4.68
Cobalt
#0047AB
ΔE00 5.21
Darkish Blue
#014182
ΔE00 5.54
Darkslateblue
#483D8B
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30438E #8E7B30
analogous
#30728E #30438E #4C308E
triadic
#30438E #8E3043 #438E30
tetradic
#30438E #8E3072 #8E7B30 #308E4C
square
#30438E #8E3072 #8E7B30 #308E4C
split-complementary
#30438E #8E4C30 #728E30
monochromatic
#111833 #212D60 #30438E #3F59BC #6B7FCD
Accessibility & contrast
On white
9.05
#30438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#30438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30438E
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30438E | 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)
#164D91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #30438e; /* rgb */ color: rgb(48, 67, 142); /* oklch */ color: oklch(41.1% 0.126 269.4);
Tailwind
colors: {
custom: {
50: '#7376b0',
500: '#30438e',
950: '#000000',
},
}SCSS
$custom: #30438e; $custom-light: #7376b0; $custom-dark: #000000;
JSON
{
"hex": "#30438e",
"rgb": {
"r": 48,
"g": 67,
"b": 142
},
"hsl": {
"h": 227.872,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.41074,
"c": 0.12611,
"h": 269.4
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#30438E
secondary
#B4A465
accent
#BD4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F