#30438C#30438C
#30438C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.123 H 269.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #30438C |
|---|---|
| RGB | rgb(48, 67, 140) |
| HSL | hsl(228, 49%, 37%) |
| HSV | hsv(228, 66%, 55%) |
| CMYK | cmyk(65.7%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(30.72, 17.34, -42.96) |
| CIE-LCH | lch(30.72, 46.32, 291.98°) |
| OKLab | oklab(40.92% -0.0014 -0.1231) |
| OKLCH | oklch(40.92% 0.123 269.3) |
| XYZ | xyz(7.9581, 6.5354, 25.6479) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.74
Blueberry
#464196
ΔE00 4.84
Cobalt
#0047AB
ΔE00 5.42
Darkish Blue
#014182
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 5.93
Twilight Blue
#0A437A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30438C #8C7930
analogous
#30718C #30438C #4B308C
triadic
#30438C #8C3043 #438C30
tetradic
#30438C #8C3071 #8C7930 #308C4B
square
#30438C #8C3071 #8C7930 #308C4B
split-complementary
#30438C #8C4B30 #718C30
monochromatic
#111731 #202D5E #30438C #4059BA #6A7FCC
Accessibility & contrast
On white
9.10
#30438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#30438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30438C
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30438C | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #30438c; /* rgb */ color: rgb(48, 67, 140); /* oklch */ color: oklch(40.9% 0.123 269.3);
Tailwind
colors: {
custom: {
50: '#7376ae',
500: '#30438c',
950: '#000000',
},
}SCSS
$custom: #30438c; $custom-light: #7376ae; $custom-dark: #000000;
JSON
{
"hex": "#30438c",
"rgb": {
"r": 48,
"g": 67,
"b": 140
},
"hsl": {
"h": 227.609,
"s": 48.936,
"l": 36.863
},
"oklch": {
"l": 0.40922,
"c": 0.12316,
"h": 269.3
},
"luminance": 0.06536
}Semantic roles & 50–950 ramp
primary
#30438C
secondary
#B3A364
accent
#BC4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F