#2F70BA#2F70BA
#2F70BA is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.133 H 253.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F70BA |
|---|---|
| RGB | rgb(47, 112, 186) |
| HSL | hsl(212, 60%, 46%) |
| HSV | hsv(212, 75%, 73%) |
| CMYK | cmyk(74.7%, 39.8%, 0%, 27.1%) |
| CIE-LAB | lab(46.63, 5.13, -44.92) |
| CIE-LCH | lch(46.63, 45.21, 276.52°) |
| OKLab | oklab(54.08% -0.037 -0.1282) |
| OKLCH | oklch(54.08% 0.133 253.9) |
| XYZ | xyz(15.8261, 15.7361, 48.6481) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.37
Mid Blue
#276AB3
ΔE00 2.30
Flat Blue
#3C73A8
ΔE00 2.37
Bluish
#2976BB
ΔE00 2.72
Windows Blue
#3778BF
ΔE00 2.97
Muted Blue
#3B719F
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F70BA #BA792F
analogous
#2FB6BA #2F70BA #332FBA
triadic
#2F70BA #BA2F70 #70BA2F
tetradic
#2F70BA #BA2FB6 #BA792F #2FBA33
square
#2F70BA #BA2FB6 #BA792F #2FBA33
split-complementary
#2F70BA #BA332F #B6BA2F
monochromatic
#163558 #235389 #2F70BA #538FD3 #84AFE0
Accessibility & contrast
On white
5.06
#2F70BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2F70BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F70BA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F70BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F70BA | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D75BD
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f70ba; /* rgb */ color: rgb(47, 112, 186); /* oklch */ color: oklch(54.1% 0.133 253.9);
Tailwind
colors: {
custom: {
50: '#7a98cf',
500: '#2f70ba',
950: '#000000',
},
}SCSS
$custom: #2f70ba; $custom-light: #7a98cf; $custom-dark: #000000;
JSON
{
"hex": "#2f70ba",
"rgb": {
"r": 47,
"g": 112,
"b": 186
},
"hsl": {
"h": 211.942,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.54084,
"c": 0.13344,
"h": 253.9
},
"luminance": 0.15738
}Semantic roles & 50–950 ramp
primary
#2F70BA
secondary
#C9A57C
accent
#9945E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82