#2D70B8#2D70B8

#2D70B8 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.131 H 252.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D70B8
RGBrgb(45, 112, 184)
HSLhsl(211, 61%, 45%)
HSVhsv(211, 76%, 72%)
CMYKcmyk(75.5%, 39.1%, 0%, 27.8%)
CIE-LABlab(46.45, 4.13, -44.04)
CIE-LCHlch(46.45, 44.24, 275.35°)
OKLaboklab(53.89% -0.0387 -0.1257)
OKLCHoklch(53.89% 0.131 252.9)
XYZxyz(15.5249, 15.6051, 47.5320)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70B8 #B8752D
analogous
#2DB6B8 #2D70B8 #2F2DB8
triadic
#2D70B8 #B82D70 #70B82D
tetradic
#2D70B8 #B82DB6 #B8752D #2DB82F
square
#2D70B8 #B82DB6 #B8752D #2DB82F
split-complementary
#2D70B8 #B82F2D #B6B82D
monochromatic
#153456 #215287 #2D70B8 #4E8FD4 #80AEE0

Accessibility & contrast

On white

5.10
#2D70B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D70B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70B8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70B8#FFFFFF#000000##FFFFFF
##2D70B81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#3868B7
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d70b8;
/* rgb */ color: rgb(45, 112, 184);
/* oklch */ color: oklch(53.9% 0.131 252.9);
Tailwind
colors: {
  custom: {
    50: '#7998ce',
    500: '#2d70b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d70b8;
$custom-light: #7998ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70b8",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 184
  },
  "hsl": {
    "h": 211.079,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.13148,
    "h": 252.9
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#2D70B8
secondary
#C9A278
accent
#9744E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D70B8

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

Preview Lab → · Contrast checker → · Palette generator →

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