#274FAF#274FAF
#274FAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.160 H 264.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #274FAF |
|---|---|
| RGB | rgb(39, 79, 175) |
| HSL | hsl(222, 64%, 42%) |
| HSV | hsv(222, 78%, 69%) |
| CMYK | cmyk(77.7%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(36.21, 21.31, -55.24) |
| CIE-LCH | lch(36.21, 59.21, 291.10°) |
| OKLab | oklab(45.77% -0.0167 -0.1593) |
| OKLCH | oklch(45.77% 0.16 264) |
| XYZ | xyz(11.3678, 9.1171, 41.7098) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.17
Cobalt
#0047AB
ΔE00 2.94
Cobalt (survey)
#1E488F
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 5.26
Denim Blue
#3B5B92
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FAF #AF8727
analogous
#2793AF #274FAF #4327AF
triadic
#274FAF #AF274F #4FAF27
tetradic
#274FAF #AF2793 #AF8727 #27AF43
square
#274FAF #AF2793 #AF8727 #27AF43
split-complementary
#274FAF #AF4327 #93AF27
monochromatic
#11224B #1C387D #274FAF #3F6BD4 #7191DF
Accessibility & contrast
On white
7.44
#274FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#274FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FAF
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FAF | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #274faf; /* rgb */ color: rgb(39, 79, 175); /* oklch */ color: oklch(45.8% 0.160 264.0);
Tailwind
colors: {
custom: {
50: '#767fc8',
500: '#274faf',
950: '#000000',
},
}SCSS
$custom: #274faf; $custom-light: #767fc8; $custom-dark: #000000;
JSON
{
"hex": "#274faf",
"rgb": {
"r": 39,
"g": 79,
"b": 175
},
"hsl": {
"h": 222.353,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.45767,
"c": 0.16013,
"h": 264
},
"luminance": 0.09118
}Semantic roles & 50–950 ramp
primary
#274FAF
secondary
#C6AC6B
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82