#2F43C0#2F43C0
#2F43C0 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.195 H 269.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F43C0 |
|---|---|
| RGB | rgb(47, 67, 192) |
| HSL | hsl(232, 61%, 47%) |
| HSV | hsv(232, 76%, 75%) |
| CMYK | cmyk(75.5%, 65.1%, 0%, 24.7%) |
| CIE-LAB | lab(34.85, 36.38, -67.46) |
| CIE-LCH | lch(34.85, 76.65, 298.34°) |
| OKLab | oklab(45.28% -0.0017 -0.1951) |
| OKLCH | oklch(45.28% 0.195 269.5) |
| XYZ | xyz(12.6906, 8.4230, 50.8159) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.13
Blue (survey)
#0343DF
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.27
Ocean Blue
#4F42B5
ΔE00 4.32
Blue With A Hint Of Purple
#533CC6
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F43C0 #C0AC2F
analogous
#2F8CC0 #2F43C0 #642FC0
triadic
#2F43C0 #C02F43 #43C02F
tetradic
#2F43C0 #C02F8C #C0AC2F #2FC064
square
#2F43C0 #C02F8C #C0AC2F #2FC064
split-complementary
#2F43C0 #C0642F #8CC02F
monochromatic
#17215E #23328F #2F43C0 #5668D6 #8894E2
Accessibility & contrast
On white
7.82
#2F43C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F43C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F43C0
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F43C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F43C0 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f43c0; /* rgb */ color: rgb(47, 67, 192); /* oklch */ color: oklch(45.3% 0.195 269.5);
Tailwind
colors: {
custom: {
50: '#7e77d4',
500: '#2f43c0',
950: '#000000',
},
}SCSS
$custom: #2f43c0; $custom-light: #7e77d4; $custom-dark: #000000;
JSON
{
"hex": "#2f43c0",
"rgb": {
"r": 47,
"g": 67,
"b": 192
},
"hsl": {
"h": 231.724,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.45282,
"c": 0.19515,
"h": 269.5
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#2F43C0
secondary
#CBC17F
accent
#CE44E4
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83