#30438F#30438F
#30438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.128 H 269.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #30438F |
|---|---|
| RGB | rgb(48, 67, 143) |
| HSL | hsl(228, 50%, 37%) |
| HSV | hsv(228, 66%, 56%) |
| CMYK | cmyk(66.4%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.94, 18.46, -44.46) |
| CIE-LCH | lch(30.94, 48.14, 292.55°) |
| OKLab | oklab(41.15% -0.0011 -0.1276) |
| OKLCH | oklch(41.15% 0.128 269.5) |
| XYZ | xyz(8.1823, 6.6251, 26.8288) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.80
Blueberry
#464196
ΔE00 4.61
Cobalt
#0047AB
ΔE00 5.11
Darkish Blue
#014182
ΔE00 5.60
Sapphire (survey)
#2138AB
ΔE00 5.81
Darkslateblue
#483D8B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30438F #8F7C30
analogous
#30728F #30438F #4D308F
triadic
#30438F #8F3043 #438F30
tetradic
#30438F #8F3072 #8F7C30 #308F4D
square
#30438F #8F3072 #8F7C30 #308F4D
split-complementary
#30438F #8F4D30 #728F30
monochromatic
#111833 #212E61 #30438F #3F58BD #6C7FCE
Accessibility & contrast
On white
9.03
#30438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#30438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30438F
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30438F | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #30438f; /* rgb */ color: rgb(48, 67, 143); /* oklch */ color: oklch(41.2% 0.128 269.5);
Tailwind
colors: {
custom: {
50: '#7376b0',
500: '#30438f',
950: '#000000',
},
}SCSS
$custom: #30438f; $custom-light: #7376b0; $custom-dark: #000000;
JSON
{
"hex": "#30438f",
"rgb": {
"r": 48,
"g": 67,
"b": 143
},
"hsl": {
"h": 228,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.41151,
"c": 0.12757,
"h": 269.5
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#30438F
secondary
#B5A566
accent
#BE4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F