#2F5FAE#2F5FAE
#2F5FAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.137 H 259.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5FAE |
|---|---|
| RGB | rgb(47, 95, 174) |
| HSL | hsl(217, 57%, 43%) |
| HSV | hsv(217, 73%, 68%) |
| CMYK | cmyk(73%, 45.4%, 0%, 31.8%) |
| CIE-LAB | lab(40.97, 11.42, -46.96) |
| CIE-LCH | lch(40.97, 48.33, 283.67°) |
| OKLab | oklab(49.46% -0.0241 -0.1345) |
| OKLCH | oklch(49.46% 0.137 259.9) |
| XYZ | xyz(12.9017, 11.8434, 41.6422) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.18
Denim Blue
#3B5B92
ΔE00 3.92
French Blue
#436BAD
ΔE00 4.25
Denim (survey)
#3B638C
ΔE00 4.45
Mid Blue
#276AB3
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5FAE #AE7E2F
analogous
#2F9EAE #2F5FAE #3E2FAE
triadic
#2F5FAE #AE2F5F #5FAE2F
tetradic
#2F5FAE #AE2F9E #AE7E2F #2FAE3E
square
#2F5FAE #AE2F9E #AE7E2F #2FAE3E
split-complementary
#2F5FAE #AE3E2F #9EAE2F
monochromatic
#152A4E #22457E #2F5FAE #4C7DCF #7CA0DC
Accessibility & contrast
On white
6.23
#2F5FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2F5FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5FAE
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5FAE | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#1D5BAC
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f5fae; /* rgb */ color: rgb(47, 95, 174); /* oklch */ color: oklch(49.5% 0.137 259.9);
Tailwind
colors: {
custom: {
50: '#788bc7',
500: '#2f5fae',
950: '#000000',
},
}SCSS
$custom: #2f5fae; $custom-light: #788bc7; $custom-dark: #000000;
JSON
{
"hex": "#2f5fae",
"rgb": {
"r": 47,
"g": 95,
"b": 174
},
"hsl": {
"h": 217.323,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49464,
"c": 0.13662,
"h": 259.9
},
"luminance": 0.11845
}Semantic roles & 50–950 ramp
primary
#2F5FAE
secondary
#C4A675
accent
#A747E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82