#2D70B9#2D70B9

#2D70B9 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.133 H 253.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D70B9
RGBrgb(45, 112, 185)
HSLhsl(211, 61%, 45%)
HSVhsv(211, 76%, 73%)
CMYKcmyk(75.7%, 39.5%, 0%, 27.5%)
CIE-LABlab(46.51, 4.50, -44.53)
CIE-LCHlch(46.51, 44.76, 275.77°)
OKLaboklab(53.96% -0.0385 -0.1271)
OKLCHoklch(53.96% 0.133 253.2)
XYZxyz(15.6300, 15.6472, 48.0860)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70B9 #B9762D
analogous
#2DB6B9 #2D70B9 #302DB9
triadic
#2D70B9 #B92D70 #70B92D
tetradic
#2D70B9 #B92DB6 #B9762D #2DB930
square
#2D70B9 #B92DB6 #B9762D #2DB930
split-complementary
#2D70B9 #B9302D #B6B92D
monochromatic
#153457 #215288 #2D70B9 #4F8FD4 #80AEE0

Accessibility & contrast

On white

5.08
#2D70B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2D70B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70B9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70B9#FFFFFF#000000##FFFFFF
##2D70B91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d70b9;
/* rgb */ color: rgb(45, 112, 185);
/* oklch */ color: oklch(54.0% 0.133 253.2);
Tailwind
colors: {
  custom: {
    50: '#7998ce',
    500: '#2d70b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d70b9;
$custom-light: #7998ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70b9",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 185
  },
  "hsl": {
    "h": 211.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.13279,
    "h": 253.2
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#2D70B9
secondary
#C9A379
accent
#9744E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2D70B9

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

Preview Lab → · Contrast checker → · Palette generator →

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