#2D70C8#2D70C8

#2D70C8 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.9% C 0.153 H 256.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D70C8
RGBrgb(45, 112, 200)
HSLhsl(214, 63%, 48%)
HSVhsv(214, 78%, 78%)
CMYKcmyk(77.5%, 44%, 0%, 21.6%)
CIE-LABlab(47.38, 10.14, -51.78)
CIE-LCHlch(47.38, 52.77, 281.08°)
OKLaboklab(54.92% -0.0352 -0.1484)
OKLCHoklch(54.92% 0.153 256.6)
XYZxyz(17.2978, 16.3143, 56.8697)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70C8 #C8852D
analogous
#2DBDC8 #2D70C8 #382DC8
triadic
#2D70C8 #C82D70 #70C82D
tetradic
#2D70C8 #C82DBD #C8852D #2DC838
square
#2D70C8 #C82DBD #C8852D #2DC838
split-complementary
#2D70C8 #C8382D #BDC82D
monochromatic
#173864 #225496 #2D70C8 #5990DA #8BB2E5

Accessibility & contrast

On white

4.93
#2D70C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2D70C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70C8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70C8#FFFFFF#000000##FFFFFF
##2D70C81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d70c8;
/* rgb */ color: rgb(45, 112, 200);
/* oklch */ color: oklch(54.9% 0.153 256.6);
Tailwind
colors: {
  custom: {
    50: '#7c98d9',
    500: '#2d70c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d70c8;
$custom-light: #7c98d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70c8",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 214.065,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.15251,
    "h": 256.6
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#2D70C8
secondary
#CFAE82
accent
#9F41E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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