#2F5EAF#2F5EAF
#2F5EAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.139 H 260.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EAF |
|---|---|
| RGB | rgb(47, 94, 175) |
| HSL | hsl(218, 58%, 44%) |
| HSV | hsv(218, 73%, 69%) |
| CMYK | cmyk(73.1%, 46.3%, 0%, 31.4%) |
| CIE-LAB | lab(40.74, 12.45, -47.91) |
| CIE-LCH | lch(40.74, 49.50, 284.56°) |
| OKLab | oklab(49.31% -0.023 -0.1373) |
| OKLCH | oklch(49.31% 0.139 260.5) |
| XYZ | xyz(12.9101, 11.7035, 42.1277) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.34
Denim Blue
#3B5B92
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 4.22
French Blue
#436BAD
ΔE00 4.54
Denim (survey)
#3B638C
ΔE00 4.67
Dusky Blue
#475F94
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EAF #AF802F
analogous
#2F9EAF #2F5EAF #402FAF
triadic
#2F5EAF #AF2F5E #5EAF2F
tetradic
#2F5EAF #AF2F9E #AF802F #2FAF40
square
#2F5EAF #AF2F9E #AF802F #2FAF40
split-complementary
#2F5EAF #AF402F #9EAF2F
monochromatic
#152A4F #22447F #2F5EAF #4C7CCF #7CA0DC
Accessibility & contrast
On white
6.29
#2F5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2F5EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EAF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EAF | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#185BAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5eaf; /* rgb */ color: rgb(47, 94, 175); /* oklch */ color: oklch(49.3% 0.139 260.5);
Tailwind
colors: {
custom: {
50: '#788bc7',
500: '#2f5eaf',
950: '#000000',
},
}SCSS
$custom: #2f5eaf; $custom-light: #788bc7; $custom-dark: #000000;
JSON
{
"hex": "#2f5eaf",
"rgb": {
"r": 47,
"g": 94,
"b": 175
},
"hsl": {
"h": 217.969,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.49311,
"c": 0.1392,
"h": 260.5
},
"luminance": 0.11705
}Semantic roles & 50–950 ramp
primary
#2F5EAF
secondary
#C4A775
accent
#A847E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82