#2F46B2#2F46B2
#2F46B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.173 H 268.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46B2 |
|---|---|
| RGB | rgb(47, 70, 178) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 74%, 70%) |
| CMYK | cmyk(73.6%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.39, 29.34, -59.96) |
| CIE-LCH | lch(34.39, 66.75, 296.08°) |
| OKLab | oklab(44.57% -0.0032 -0.1731) |
| OKLCH | oklch(44.57% 0.173 268.9) |
| XYZ | xyz(11.3956, 8.1978, 43.0926) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Cobalt
#0047AB
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.18
Ocean Blue
#4F42B5
ΔE00 5.09
Sapphire
#0F52BA
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46B2 #B29B2F
analogous
#2F88B2 #2F46B2 #5A2FB2
triadic
#2F46B2 #B22F46 #46B22F
tetradic
#2F46B2 #B22F88 #B29B2F #2FB25A
square
#2F46B2 #B22F88 #B29B2F #2FB25A
split-complementary
#2F46B2 #B25A2F #88B22F
monochromatic
#152051 #223382 #2F46B2 #4E65D0 #7E8FDD
Accessibility & contrast
On white
7.96
#2F46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F46B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46B2
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46B2 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f46b2; /* rgb */ color: rgb(47, 70, 178); /* oklch */ color: oklch(44.6% 0.173 268.9);
Tailwind
colors: {
custom: {
50: '#7a79ca',
500: '#2f46b2',
950: '#000000',
},
}SCSS
$custom: #2f46b2; $custom-light: #7a79ca; $custom-dark: #000000;
JSON
{
"hex": "#2f46b2",
"rgb": {
"r": 47,
"g": 70,
"b": 178
},
"hsl": {
"h": 229.466,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.44574,
"c": 0.17315,
"h": 268.9
},
"luminance": 0.08199
}Semantic roles & 50–950 ramp
primary
#2F46B2
secondary
#C6B877
accent
#C646E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82