#274797#274797
#274797 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.137 H 264.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #274797 |
|---|---|
| RGB | rgb(39, 71, 151) |
| HSL | hsl(223, 59%, 37%) |
| HSV | hsv(223, 74%, 59%) |
| CMYK | cmyk(74.2%, 53%, 0%, 40.8%) |
| CIE-LAB | lab(32.19, 17.38, -47.34) |
| CIE-LCH | lch(32.19, 50.43, 290.16°) |
| OKLab | oklab(42.16% -0.0126 -0.1362) |
| OKLCH | oklch(42.16% 0.137 264.7) |
| XYZ | xyz(8.6739, 7.1712, 30.1992) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.09
Cobalt
#0047AB
ΔE00 3.08
Darkish Blue
#014182
ΔE00 4.75
Dusk Blue
#26538D
ΔE00 5.13
Twilight Blue
#0A437A
ΔE00 5.58
Sapphire
#0F52BA
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274797 #977727
analogous
#277F97 #274797 #3F2797
triadic
#274797 #972747 #479727
tetradic
#274797 #97277F #977727 #27973F
square
#274797 #97277F #977727 #27973F
split-complementary
#274797 #973F27 #7F9727
monochromatic
#0E1936 #1A3066 #274797 #345EC8 #6283D6
Accessibility & contrast
On white
8.63
#274797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#274797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274797
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274797 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #274797; /* rgb */ color: rgb(39, 71, 151); /* oklch */ color: oklch(42.2% 0.137 264.7);
Tailwind
colors: {
custom: {
50: '#7179b6',
500: '#274797',
950: '#000000',
},
}SCSS
$custom: #274797; $custom-light: #7179b6; $custom-dark: #000000;
JSON
{
"hex": "#274797",
"rgb": {
"r": 39,
"g": 71,
"b": 151
},
"hsl": {
"h": 222.857,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.42163,
"c": 0.13675,
"h": 264.7
},
"luminance": 0.07172
}Semantic roles & 50–950 ramp
primary
#274797
secondary
#BCA15E
accent
#B546E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80