#274096#274096
#274096 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.144 H 267.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #274096 |
|---|---|
| RGB | rgb(39, 64, 150) |
| HSL | hsl(226, 59%, 37%) |
| HSV | hsv(226, 74%, 59%) |
| CMYK | cmyk(74%, 57.3%, 0%, 41.2%) |
| CIE-LAB | lab(30.16, 21.75, -50.03) |
| CIE-LCH | lch(30.16, 54.55, 293.49°) |
| OKLab | oklab(40.6% -0.0068 -0.1442) |
| OKLCH | oklch(40.6% 0.144 267.3) |
| XYZ | xyz(8.1732, 6.2993, 29.6334) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.35
Blueberry
#464196
ΔE00 5.06
Darkish Blue
#014182
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274096 #967D27
analogous
#277896 #274096 #452796
triadic
#274096 #962740 #409627
tetradic
#274096 #962778 #967D27 #279645
square
#274096 #962778 #967D27 #279645
split-complementary
#274096 #964527 #789627
monochromatic
#0E1735 #1A2B65 #274096 #3455C7 #617CD6
Accessibility & contrast
On white
9.29
#274096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#274096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274096
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274096 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #274096; /* rgb */ color: rgb(39, 64, 150); /* oklch */ color: oklch(40.6% 0.144 267.3);
Tailwind
colors: {
custom: {
50: '#7174b6',
500: '#274096',
950: '#000000',
},
}SCSS
$custom: #274096; $custom-light: #7174b6; $custom-dark: #000000;
JSON
{
"hex": "#274096",
"rgb": {
"r": 39,
"g": 64,
"b": 150
},
"hsl": {
"h": 226.486,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.406,
"c": 0.14437,
"h": 267.3
},
"luminance": 0.063
}Semantic roles & 50–950 ramp
primary
#274096
secondary
#BCA65D
accent
#BF46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80