#2F30BC#2F30BC
#2F30BC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.210 H 272.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F30BC |
|---|---|
| RGB | rgb(47, 48, 188) |
| HSL | hsl(240, 60%, 46%) |
| HSV | hsv(240, 75%, 74%) |
| CMYK | cmyk(75%, 74.5%, 0%, 26.3%) |
| CIE-LAB | lab(30.27, 46.43, -72.64) |
| CIE-LCH | lch(30.27, 86.21, 302.58°) |
| OKLab | oklab(41.86% 0.0086 -0.2102) |
| OKLCH | oklch(41.86% 0.21 272.3) |
| XYZ | xyz(11.3033, 6.3479, 48.1968) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 5.07
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.23
Blurple
#5539CC
ΔE00 5.46
True Blue
#010FCC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F30BC #BCBB2F
analogous
#2F76BC #2F30BC #742FBC
triadic
#2F30BC #BC2F30 #30BC2F
tetradic
#2F30BC #BC2F76 #BCBB2F #2FBC74
square
#2F30BC #BC2F76 #BCBB2F #2FBC74
split-complementary
#2F30BC #BC742F #76BC2F
monochromatic
#17175A #23238B #2F30BC #5455D4 #8586E0
Accessibility & contrast
On white
9.25
#2F30BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F30BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F30BC
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F30BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F30BC | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f30bc; /* rgb */ color: rgb(47, 48, 188); /* oklch */ color: oklch(41.9% 0.210 272.3);
Tailwind
colors: {
custom: {
50: '#7f6ad1',
500: '#2f30bc',
950: '#000000',
},
}SCSS
$custom: #2f30bc; $custom-light: #7f6ad1; $custom-dark: #000000;
JSON
{
"hex": "#2f30bc",
"rgb": {
"r": 47,
"g": 48,
"b": 188
},
"hsl": {
"h": 239.574,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.41864,
"c": 0.21042,
"h": 272.3
},
"luminance": 0.06349
}Semantic roles & 50–950 ramp
primary
#2F30BC
secondary
#CAC97D
accent
#E245E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83