#2D70C0#2D70C0

#2D70C0 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.142 H 254.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2D70C0
RGBrgb(45, 112, 192)
HSLhsl(213, 62%, 46%)
HSVhsv(213, 77%, 75%)
CMYKcmyk(76.6%, 41.7%, 0%, 24.7%)
CIE-LABlab(46.91, 7.13, -47.94)
CIE-LCHlch(46.91, 48.47, 278.46°)
OKLaboklab(54.4% -0.0369 -0.1371)
OKLCHoklch(54.4% 0.142 254.9)
XYZxyz(16.3873, 15.9501, 52.0740)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70C0 #C07D2D
analogous
#2DBAC0 #2D70C0 #342DC0
triadic
#2D70C0 #C02D70 #70C02D
tetradic
#2D70C0 #C02DBA #C07D2D #2DC034
square
#2D70C0 #C02DBA #C07D2D #2DC034
split-complementary
#2D70C0 #C0342D #BAC02D
monochromatic
#16365D #21538E #2D70C0 #538FD7 #85B0E2

Accessibility & contrast

On white

5.01
#2D70C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2D70C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70C0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70C0#FFFFFF#000000##FFFFFF
##2D70C01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C3
Deuteranopia (green-blind)
#2F69BE
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d70c0;
/* rgb */ color: rgb(45, 112, 192);
/* oklch */ color: oklch(54.4% 0.142 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b98d3',
    500: '#2d70c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d70c0;
$custom-light: #7b98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70c0",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 192
  },
  "hsl": {
    "h": 212.653,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.14196,
    "h": 254.9
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#2D70C0
secondary
#CCA87D
accent
#9B43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D70C0

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

Preview Lab → · Contrast checker → · Palette generator →

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