#2F49A5#2F49A5
#2F49A5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.152 H 267.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F49A5 |
|---|---|
| RGB | rgb(47, 73, 165) |
| HSL | hsl(227, 56%, 42%) |
| HSV | hsv(227, 72%, 65%) |
| CMYK | cmyk(71.5%, 55.8%, 0%, 35.3%) |
| CIE-LAB | lab(34.16, 22.52, -52.59) |
| CIE-LCH | lch(34.16, 57.20, 293.18°) |
| OKLab | oklab(44.08% -0.0059 -0.1514) |
| OKLCH | oklch(44.08% 0.152 267.8) |
| XYZ | xyz(10.3440, 8.0850, 36.6054) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Cobalt (survey)
#1E488F
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.42
Blueberry
#464196
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F49A5 #A58B2F
analogous
#2F84A5 #2F49A5 #502FA5
triadic
#2F49A5 #A52F49 #49A52F
tetradic
#2F49A5 #A52F84 #A58B2F #2FA550
square
#2F49A5 #A52F84 #A58B2F #2FA550
split-complementary
#2F49A5 #A5502F #84A52F
monochromatic
#141F46 #213475 #2F49A5 #4764CB #768CD8
Accessibility & contrast
On white
8.02
#2F49A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F49A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F49A5
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F49A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F49A5 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f49a5; /* rgb */ color: rgb(47, 73, 165); /* oklch */ color: oklch(44.1% 0.152 267.8);
Tailwind
colors: {
custom: {
50: '#777bc0',
500: '#2f49a5',
950: '#000000',
},
}SCSS
$custom: #2f49a5; $custom-light: #777bc0; $custom-dark: #000000;
JSON
{
"hex": "#2f49a5",
"rgb": {
"r": 47,
"g": 73,
"b": 165
},
"hsl": {
"h": 226.78,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.44079,
"c": 0.15153,
"h": 267.8
},
"luminance": 0.08086
}Semantic roles & 50–950 ramp
primary
#2F49A5
secondary
#C0AE70
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81