#2F54B3#2F54B3
#2F54B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.157 H 264.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F54B3 |
|---|---|
| RGB | rgb(47, 84, 179) |
| HSL | hsl(223, 58%, 44%) |
| HSV | hsv(223, 74%, 70%) |
| CMYK | cmyk(73.7%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(38.20, 20.51, -54.37) |
| CIE-LCH | lch(38.20, 58.10, 290.67°) |
| OKLab | oklab(47.45% -0.0139 -0.1565) |
| OKLCH | oklch(47.45% 0.157 264.9) |
| XYZ | xyz(12.4764, 10.1983, 43.9500) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.13
Cobalt
#0047AB
ΔE00 4.59
Denim Blue
#3B5B92
ΔE00 5.02
Denim
#1560BD
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.59
Dusky Blue
#475F94
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F54B3 #B38E2F
analogous
#2F96B3 #2F54B3 #4C2FB3
triadic
#2F54B3 #B32F54 #54B32F
tetradic
#2F54B3 #B32F96 #B38E2F #2FB34C
square
#2F54B3 #B32F96 #B38E2F #2FB34C
split-complementary
#2F54B3 #B34C2F #96B32F
monochromatic
#162752 #223D83 #2F54B3 #4F73D1 #7F99DD
Accessibility & contrast
On white
6.91
#2F54B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F54B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F54B3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F54B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F54B3 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1060B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f54b3; /* rgb */ color: rgb(47, 84, 179); /* oklch */ color: oklch(47.5% 0.157 264.9);
Tailwind
colors: {
custom: {
50: '#7a83ca',
500: '#2f54b3',
950: '#000000',
},
}SCSS
$custom: #2f54b3; $custom-light: #7a83ca; $custom-dark: #000000;
JSON
{
"hex": "#2f54b3",
"rgb": {
"r": 47,
"g": 84,
"b": 179
},
"hsl": {
"h": 223.182,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.47453,
"c": 0.15709,
"h": 264.9
},
"luminance": 0.102
}Semantic roles & 50–950 ramp
primary
#2F54B3
secondary
#C6B078
accent
#B646E2
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82