#2F49AF#2F49AF
#2F49AF is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.165 H 268.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49AF |
|---|---|
| RGB | rgb(47, 73, 175) |
| HSL | hsl(228, 58%, 44%) |
| HSV | hsv(228, 73%, 69%) |
| CMYK | cmyk(73.1%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(34.93, 26.26, -57.30) |
| CIE-LCH | lch(34.93, 63.03, 294.62°) |
| OKLab | oklab(44.9% -0.0055 -0.1653) |
| OKLCH | oklch(44.9% 0.165 268.1) |
| XYZ | xyz(11.2900, 8.4634, 41.5877) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49AF #AF952F
analogous
#2F89AF #2F49AF #552FAF
triadic
#2F49AF #AF2F49 #49AF2F
tetradic
#2F49AF #AF2F89 #AF952F #2FAF55
square
#2F49AF #AF2F89 #AF952F #2FAF55
split-complementary
#2F49AF #AF552F #89AF2F
monochromatic
#15214F #22357F #2F49AF #4C67CF #7C90DC
Accessibility & contrast
On white
7.80
#2F49AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2F49AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49AF
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49AF | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f49af; /* rgb */ color: rgb(47, 73, 175); /* oklch */ color: oklch(44.9% 0.165 268.1);
Tailwind
colors: {
custom: {
50: '#797bc8',
500: '#2f49af',
950: '#000000',
},
}SCSS
$custom: #2f49af; $custom-light: #797bc8; $custom-dark: #000000;
JSON
{
"hex": "#2f49af",
"rgb": {
"r": 47,
"g": 73,
"b": 175
},
"hsl": {
"h": 227.813,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.44899,
"c": 0.16536,
"h": 268.1
},
"luminance": 0.08465
}Semantic roles & 50–950 ramp
primary
#2F49AF
secondary
#C4B475
accent
#C247E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82