#2F5EAE#2F5EAE
#2F5EAE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.138 H 260.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EAE |
|---|---|
| RGB | rgb(47, 94, 174) |
| HSL | hsl(218, 57%, 43%) |
| HSV | hsv(218, 73%, 68%) |
| CMYK | cmyk(73%, 46%, 0%, 31.8%) |
| CIE-LAB | lab(40.68, 12.07, -47.42) |
| CIE-LCH | lch(40.68, 48.93, 284.28°) |
| OKLab | oklab(49.24% -0.0232 -0.1359) |
| OKLCH | oklch(49.24% 0.138 260.3) |
| XYZ | xyz(12.8122, 11.6644, 41.6124) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.38
Denim Blue
#3B5B92
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.26
French Blue
#436BAD
ΔE00 4.55
Denim (survey)
#3B638C
ΔE00 4.58
Dusky Blue
#475F94
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EAE #AE7F2F
analogous
#2F9DAE #2F5EAE #3F2FAE
triadic
#2F5EAE #AE2F5E #5EAE2F
tetradic
#2F5EAE #AE2F9D #AE7F2F #2FAE3F
square
#2F5EAE #AE2F9D #AE7F2F #2FAE3F
split-complementary
#2F5EAE #AE3F2F #9DAE2F
monochromatic
#152A4E #22447E #2F5EAE #4C7CCF #7C9FDC
Accessibility & contrast
On white
6.30
#2F5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2F5EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EAE
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EAE | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5eae; /* rgb */ color: rgb(47, 94, 174); /* oklch */ color: oklch(49.2% 0.138 260.3);
Tailwind
colors: {
custom: {
50: '#788bc7',
500: '#2f5eae',
950: '#000000',
},
}SCSS
$custom: #2f5eae; $custom-light: #788bc7; $custom-dark: #000000;
JSON
{
"hex": "#2f5eae",
"rgb": {
"r": 47,
"g": 94,
"b": 174
},
"hsl": {
"h": 217.795,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49242,
"c": 0.13782,
"h": 260.3
},
"luminance": 0.11666
}Semantic roles & 50–950 ramp
primary
#2F5EAE
secondary
#C4A775
accent
#A847E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82