#304992#304992
#304992 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.124 H 266.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #304992 |
|---|---|
| RGB | rgb(48, 73, 146) |
| HSL | hsl(225, 51%, 38%) |
| HSV | hsv(225, 67%, 57%) |
| CMYK | cmyk(67.1%, 50%, 0%, 42.7%) |
| CIE-LAB | lab(32.85, 15.54, -43.21) |
| CIE-LCH | lch(32.85, 45.92, 289.77°) |
| OKLab | oklab(42.67% -0.0068 -0.1238) |
| OKLCH | oklch(42.67% 0.124 266.9) |
| XYZ | xyz(8.7880, 7.4680, 28.1669) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.55
Cobalt
#0047AB
ΔE00 4.30
Dusk Blue
#26538D
ΔE00 5.01
Darkish Blue
#014182
ΔE00 5.31
Twilight Blue
#0A437A
ΔE00 5.94
Blueberry
#464196
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304992 #927930
analogous
#307A92 #304992 #483092
triadic
#304992 #923049 #499230
tetradic
#304992 #92307A #927930 #309248
square
#304992 #92307A #927930 #309248
split-complementary
#304992 #924830 #7A9230
monochromatic
#121B36 #213264 #304992 #3F60C0 #6D86CF
Accessibility & contrast
On white
8.42
#304992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#304992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304992
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304992 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225295
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #304992; /* rgb */ color: rgb(48, 73, 146); /* oklch */ color: oklch(42.7% 0.124 266.9);
Tailwind
colors: {
custom: {
50: '#737bb2',
500: '#304992',
950: '#000000',
},
}SCSS
$custom: #304992; $custom-light: #737bb2; $custom-dark: #000000;
JSON
{
"hex": "#304992",
"rgb": {
"r": 48,
"g": 73,
"b": 146
},
"hsl": {
"h": 224.694,
"s": 50.515,
"l": 38.039
},
"oklch": {
"l": 0.42668,
"c": 0.12399,
"h": 266.9
},
"luminance": 0.07469
}Semantic roles & 50–950 ramp
primary
#304992
secondary
#B7A267
accent
#B64EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80