#274C8A#274C8A
#274C8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.112 H 260.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #274C8A |
|---|---|
| RGB | rgb(39, 76, 138) |
| HSL | hsl(218, 56%, 35%) |
| HSV | hsv(218, 72%, 54%) |
| CMYK | cmyk(71.7%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(32.78, 8.94, -38.46) |
| CIE-LCH | lch(32.78, 39.48, 283.09°) |
| OKLab | oklab(42.33% -0.0192 -0.11) |
| OKLCH | oklch(42.33% 0.112 260.1) |
| XYZ | xyz(8.0069, 7.4344, 25.0528) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.58
Dusk Blue
#26538D
ΔE00 2.68
Light Navy
#155084
ΔE00 3.95
Darkish Blue
#014182
ΔE00 4.03
Twilight Blue
#0A437A
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274C8A #8A6527
analogous
#277D8A #274C8A #34278A
triadic
#274C8A #8A274C #4C8A27
tetradic
#274C8A #8A277D #8A6527 #278A34
square
#274C8A #8A277D #8A6527 #278A34
split-complementary
#274C8A #8A3427 #7D8A27
monochromatic
#0C172B #1A325A #274C8A #3466BA #5B87D1
Accessibility & contrast
On white
8.44
#274C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#274C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274C8A
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274C8A | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #274c8a; /* rgb */ color: rgb(39, 76, 138); /* oklch */ color: oklch(42.3% 0.112 260.1);
Tailwind
colors: {
custom: {
50: '#6e7dac',
500: '#274c8a',
950: '#000000',
},
}SCSS
$custom: #274c8a; $custom-light: #6e7dac; $custom-dark: #000000;
JSON
{
"hex": "#274c8a",
"rgb": {
"r": 39,
"g": 76,
"b": 138
},
"hsl": {
"h": 217.576,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.42325,
"c": 0.11162,
"h": 260.1
},
"luminance": 0.07435
}Semantic roles & 50–950 ramp
primary
#274C8A
secondary
#B69257
accent
#A749DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F