#2D70B2#2D70B2

#2D70B2 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.124 H 251.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2D70B2
RGBrgb(45, 112, 178)
HSLhsl(210, 60%, 44%)
HSVhsv(210, 75%, 70%)
CMYKcmyk(74.7%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.12, 1.89, -41.08)
CIE-LCHlch(46.12, 41.12, 272.63°)
OKLaboklab(53.53% -0.0402 -0.117)
OKLCHoklch(53.53% 0.124 251)
XYZxyz(14.9092, 15.3589, 44.2896)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70B2 #B26F2D
analogous
#2DB2B1 #2D70B2 #2D2EB2
triadic
#2D70B2 #B22D70 #70B22D
tetradic
#2D70B2 #B12DB2 #B26F2D #2EB22D
square
#2D70B2 #B12DB2 #B26F2D #2EB22D
split-complementary
#2D70B2 #B22D2E #B2B12D
monochromatic
#143350 #215181 #2D70B2 #4B8FD1 #7CADDE

Accessibility & contrast

On white

5.16
#2D70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2D70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70B2#FFFFFF#000000##FFFFFF
##2D70B21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d70b2;
/* rgb */ color: rgb(45, 112, 178);
/* oklch */ color: oklch(53.5% 0.124 251.0);
Tailwind
colors: {
  custom: {
    50: '#7898c9',
    500: '#2d70b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d70b2;
$custom-light: #7898c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70b2",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 209.774,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.1237,
    "h": 251
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#2D70B2
secondary
#C69D75
accent
#9345E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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