#274C8C#274C8C
#274C8C is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.115 H 260.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #274C8C |
|---|---|
| RGB | rgb(39, 76, 140) |
| HSL | hsl(218, 56%, 35%) |
| HSV | hsv(218, 72%, 55%) |
| CMYK | cmyk(72.1%, 45.7%, 0%, 45.1%) |
| CIE-LAB | lab(32.90, 9.72, -39.48) |
| CIE-LCH | lch(32.90, 40.66, 283.83°) |
| OKLab | oklab(42.47% -0.0188 -0.113) |
| OKLCH | oklch(42.47% 0.115 260.6) |
| XYZ | xyz(8.1531, 7.4928, 25.8224) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.45
Dusk Blue
#26538D
ΔE00 2.74
Light Navy
#155084
ΔE00 4.11
Darkish Blue
#014182
ΔE00 4.13
Twilight Blue
#0A437A
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274C8C #8C6727
analogous
#277E8C #274C8C #34278C
triadic
#274C8C #8C274C #4C8C27
tetradic
#274C8C #8C277E #8C6727 #278C34
square
#274C8C #8C277E #8C6727 #278C34
split-complementary
#274C8C #8C3427 #7E8C27
monochromatic
#0C182C #1A325C #274C8C #3466BC #5C87D2
Accessibility & contrast
On white
8.40
#274C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#274C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274C8C
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274C8C | 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)
#2C528E
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #274c8c; /* rgb */ color: rgb(39, 76, 140); /* oklch */ color: oklch(42.5% 0.115 260.6);
Tailwind
colors: {
custom: {
50: '#6e7dae',
500: '#274c8c',
950: '#000000',
},
}SCSS
$custom: #274c8c; $custom-light: #6e7dae; $custom-dark: #000000;
JSON
{
"hex": "#274c8c",
"rgb": {
"r": 39,
"g": 76,
"b": 140
},
"hsl": {
"h": 218.02,
"s": 56.425,
"l": 35.098
},
"oklch": {
"l": 0.42465,
"c": 0.11451,
"h": 260.6
},
"luminance": 0.07494
}Semantic roles & 50–950 ramp
primary
#274C8C
secondary
#B79458
accent
#A848E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F