#2B70C5#2B70C5

#2B70C5 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.7% C 0.149 H 255.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2B70C5
RGBrgb(43, 112, 197)
HSLhsl(213, 64%, 47%)
HSVhsv(213, 78%, 77%)
CMYKcmyk(78.2%, 43.1%, 0%, 22.7%)
CIE-LABlab(47.15, 8.78, -50.44)
CIE-LCHlch(47.15, 51.20, 279.88°)
OKLaboklab(54.66% -0.037 -0.1445)
OKLCHoklch(54.66% 0.149 255.6)
XYZxyz(16.8647, 16.1312, 55.0373)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B70C5 #C5802B
analogous
#2BBDC5 #2B70C5 #332BC5
triadic
#2B70C5 #C52B70 #70C52B
tetradic
#2B70C5 #C52BBD #C5802B #2BC533
square
#2B70C5 #C52BBD #C5802B #2BC533
split-complementary
#2B70C5 #C5332B #BDC52B
monochromatic
#153761 #205393 #2B70C5 #5490DA #86B0E5

Accessibility & contrast

On white

4.97
#2B70C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2B70C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B70C5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B70C5#FFFFFF#000000##FFFFFF
##2B70C51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4577C8
Deuteranopia (green-blind)
#2869C3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b70c5;
/* rgb */ color: rgb(43, 112, 197);
/* oklch */ color: oklch(54.7% 0.149 255.6);
Tailwind
colors: {
  custom: {
    50: '#7b98d7',
    500: '#2b70c5',
    950: '#000000',
  },
}
SCSS
$custom: #2b70c5;
$custom-light: #7b98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b70c5",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 213.117,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54662,
    "c": 0.14914,
    "h": 255.6
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#2B70C5
secondary
#CEAA7E
accent
#9D41E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2B70C5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2B70C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva