#2F46AF#2F46AF
#2F46AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.169 H 268.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46AF |
|---|---|
| RGB | rgb(47, 70, 175) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 73%, 69%) |
| CMYK | cmyk(73.1%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(34.15, 28.23, -58.58) |
| CIE-LCH | lch(34.15, 65.03, 295.73°) |
| OKLab | oklab(44.32% -0.0032 -0.1691) |
| OKLCH | oklch(44.32% 0.169 268.9) |
| XYZ | xyz(11.0976, 8.0786, 41.5236) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.43
Cobalt
#0047AB
ΔE00 3.68
Sapphire (survey)
#2138AB
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.31
Blueberry
#464196
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46AF #AF982F
analogous
#2F86AF #2F46AF #582FAF
triadic
#2F46AF #AF2F46 #46AF2F
tetradic
#2F46AF #AF2F86 #AF982F #2FAF58
square
#2F46AF #AF2F86 #AF982F #2FAF58
split-complementary
#2F46AF #AF582F #86AF2F
monochromatic
#151F4F #22337F #2F46AF #4C64CF #7C8EDC
Accessibility & contrast
On white
8.03
#2F46AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F46AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46AF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46AF | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f46af; /* rgb */ color: rgb(47, 70, 175); /* oklch */ color: oklch(44.3% 0.169 268.9);
Tailwind
colors: {
custom: {
50: '#7a79c8',
500: '#2f46af',
950: '#000000',
},
}SCSS
$custom: #2f46af; $custom-light: #7a79c8; $custom-dark: #000000;
JSON
{
"hex": "#2f46af",
"rgb": {
"r": 47,
"g": 70,
"b": 175
},
"hsl": {
"h": 229.219,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.44315,
"c": 0.16909,
"h": 268.9
},
"luminance": 0.0808
}Semantic roles & 50–950 ramp
primary
#2F46AF
secondary
#C4B675
accent
#C547E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82