#30438B#30438B
#30438B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.122 H 269.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #30438B |
|---|---|
| RGB | rgb(48, 67, 139) |
| HSL | hsl(227, 49%, 37%) |
| HSV | hsv(227, 65%, 55%) |
| CMYK | cmyk(65.5%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(30.66, 16.97, -42.45) |
| CIE-LCH | lch(30.66, 45.72, 291.78°) |
| OKLab | oklab(40.85% -0.0015 -0.1217) |
| OKLCH | oklch(40.85% 0.122 269.3) |
| XYZ | xyz(7.8847, 6.5061, 25.2614) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.73
Blueberry
#464196
ΔE00 4.93
Darkish Blue
#014182
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 5.97
Twilight Blue
#0A437A
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30438B #8B7830
analogous
#30718B #30438B #4B308B
triadic
#30438B #8B3043 #438B30
tetradic
#30438B #8B3071 #8B7830 #308B4B
square
#30438B #8B3071 #8B7830 #308B4B
split-complementary
#30438B #8B4B30 #718B30
monochromatic
#111730 #202D5E #30438B #4059B8 #6A7ECC
Accessibility & contrast
On white
9.12
#30438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#30438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30438B
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30438B | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4C8E
Deuteranopia (green-blind)
#01448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #30438b; /* rgb */ color: rgb(48, 67, 139); /* oklch */ color: oklch(40.8% 0.122 269.3);
Tailwind
colors: {
custom: {
50: '#7276ad',
500: '#30438b',
950: '#000000',
},
}SCSS
$custom: #30438b; $custom-light: #7276ad; $custom-dark: #000000;
JSON
{
"hex": "#30438b",
"rgb": {
"r": 48,
"g": 67,
"b": 139
},
"hsl": {
"h": 227.473,
"s": 48.663,
"l": 36.667
},
"oklch": {
"l": 0.40847,
"c": 0.12168,
"h": 269.3
},
"luminance": 0.06507
}Semantic roles & 50–950 ramp
primary
#30438B
secondary
#B3A264
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F