#2F30B2#2F30B2
#2F30B2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.198 H 273.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30B2 |
|---|---|
| RGB | rgb(47, 48, 178) |
| HSL | hsl(240, 58%, 44%) |
| HSV | hsv(240, 74%, 70%) |
| CMYK | cmyk(73.6%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(29.24, 43.09, -68.41) |
| CIE-LCH | lch(29.24, 80.85, 302.21°) |
| OKLab | oklab(40.82% 0.0103 -0.1979) |
| OKLCH | oklch(40.82% 0.198 273) |
| XYZ | xyz(10.2624, 5.9315, 42.7149) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 5.76
Blue With A Hint Of Purple
#533CC6
ΔE00 5.94
True Blue
#010FCC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30B2 #B2B12F
analogous
#2F72B2 #2F30B2 #702FB2
triadic
#2F30B2 #B22F30 #30B22F
tetradic
#2F30B2 #B22F72 #B2B12F #2FB270
square
#2F30B2 #B22F72 #B2B12F #2FB270
split-complementary
#2F30B2 #B2702F #72B22F
monochromatic
#151651 #222382 #2F30B2 #4E4FD0 #7E7FDD
Accessibility & contrast
On white
9.60
#2F30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30B2
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30B2 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f30b2; /* rgb */ color: rgb(47, 48, 178); /* oklch */ color: oklch(40.8% 0.198 273.0);
Tailwind
colors: {
custom: {
50: '#7c6aca',
500: '#2f30b2',
950: '#000000',
},
}SCSS
$custom: #2f30b2; $custom-light: #7c6aca; $custom-dark: #000000;
JSON
{
"hex": "#2f30b2",
"rgb": {
"r": 47,
"g": 48,
"b": 178
},
"hsl": {
"h": 239.542,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.4082,
"c": 0.1982,
"h": 273
},
"luminance": 0.05933
}Semantic roles & 50–950 ramp
primary
#2F30B2
secondary
#C6C577
accent
#E046E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82