#274C8B#274C8B
#274C8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.113 H 260.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #274C8B |
|---|---|
| RGB | rgb(39, 76, 139) |
| HSL | hsl(218, 56%, 35%) |
| HSV | hsv(218, 72%, 55%) |
| CMYK | cmyk(71.9%, 45.3%, 0%, 45.5%) |
| CIE-LAB | lab(32.84, 9.33, -38.97) |
| CIE-LCH | lch(32.84, 40.07, 283.47°) |
| OKLab | oklab(42.4% -0.019 -0.1115) |
| OKLCH | oklch(42.4% 0.113 260.3) |
| XYZ | xyz(8.0797, 7.4635, 25.4359) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.51
Dusk Blue
#26538D
ΔE00 2.71
Light Navy
#155084
ΔE00 4.03
Darkish Blue
#014182
ΔE00 4.08
Twilight Blue
#0A437A
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274C8B #8B6627
analogous
#277E8B #274C8B #34278B
triadic
#274C8B #8B274C #4C8B27
tetradic
#274C8B #8B277E #8B6627 #278B34
square
#274C8B #8B277E #8B6627 #278B34
split-complementary
#274C8B #8B3427 #7E8B27
monochromatic
#0C182B #1A325B #274C8B #3466BB #5B87D1
Accessibility & contrast
On white
8.42
#274C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#274C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274C8B
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274C8B | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #274c8b; /* rgb */ color: rgb(39, 76, 139); /* oklch */ color: oklch(42.4% 0.113 260.3);
Tailwind
colors: {
custom: {
50: '#6e7dad',
500: '#274c8b',
950: '#000000',
},
}SCSS
$custom: #274c8b; $custom-light: #6e7dad; $custom-dark: #000000;
JSON
{
"hex": "#274c8b",
"rgb": {
"r": 39,
"g": 76,
"b": 139
},
"hsl": {
"h": 217.8,
"s": 56.18,
"l": 34.902
},
"oklch": {
"l": 0.42395,
"c": 0.11307,
"h": 260.3
},
"luminance": 0.07464
}Semantic roles & 50–950 ramp
primary
#274C8B
secondary
#B69358
accent
#A848DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F