#304993#304993
#304993 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.125 H 267.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #304993 |
|---|---|
| RGB | rgb(48, 73, 147) |
| HSL | hsl(225, 51%, 38%) |
| HSV | hsv(225, 67%, 58%) |
| CMYK | cmyk(67.3%, 50.3%, 0%, 42.4%) |
| CIE-LAB | lab(32.92, 15.91, -43.71) |
| CIE-LCH | lch(32.92, 46.52, 290.00°) |
| OKLab | oklab(42.74% -0.0066 -0.1253) |
| OKLCH | oklch(42.74% 0.125 267) |
| XYZ | xyz(8.8661, 7.4992, 28.5784) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.60
Cobalt
#0047AB
ΔE00 4.20
Dusk Blue
#26538D
ΔE00 5.06
Darkish Blue
#014182
ΔE00 5.38
Blueberry
#464196
ΔE00 5.88
Twilight Blue
#0A437A
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304993 #937A30
analogous
#307A93 #304993 #483093
triadic
#304993 #933049 #499330
tetradic
#304993 #93307A #937A30 #309348
square
#304993 #93307A #937A30 #309348
split-complementary
#304993 #934830 #7A9330
monochromatic
#121B37 #213265 #304993 #4060C1 #6E87D0
Accessibility & contrast
On white
8.40
#304993 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#304993 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304993
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304993 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304993 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#064991
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #304993; /* rgb */ color: rgb(48, 73, 147); /* oklch */ color: oklch(42.7% 0.125 267.0);
Tailwind
colors: {
custom: {
50: '#747bb3',
500: '#304993',
950: '#000000',
},
}SCSS
$custom: #304993; $custom-light: #747bb3; $custom-dark: #000000;
JSON
{
"hex": "#304993",
"rgb": {
"r": 48,
"g": 73,
"b": 147
},
"hsl": {
"h": 224.848,
"s": 50.769,
"l": 38.235
},
"oklch": {
"l": 0.42742,
"c": 0.12547,
"h": 267
},
"luminance": 0.075
}Semantic roles & 50–950 ramp
primary
#304993
secondary
#B7A368
accent
#B74EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80