#2D70C2#2D70C2

#2D70C2 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.5% C 0.145 H 255.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D70C2
RGBrgb(45, 112, 194)
HSLhsl(213, 62%, 47%)
HSVhsv(213, 77%, 76%)
CMYKcmyk(76.8%, 42.3%, 0%, 23.9%)
CIE-LABlab(47.03, 7.88, -48.91)
CIE-LCHlch(47.03, 49.54, 279.15°)
OKLaboklab(54.53% -0.0365 -0.1399)
OKLCHoklch(54.53% 0.145 255.4)
XYZxyz(16.6104, 16.0393, 53.2490)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70C2 #C27F2D
analogous
#2DBBC2 #2D70C2 #352DC2
triadic
#2D70C2 #C22D70 #70C22D
tetradic
#2D70C2 #C22DBB #C27F2D #2DC235
square
#2D70C2 #C22DBB #C27F2D #2DC235
split-complementary
#2D70C2 #C2352D #BBC22D
monochromatic
#16375F #215390 #2D70C2 #5590D7 #86B0E3

Accessibility & contrast

On white

4.99
#2D70C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2D70C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70C2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70C2#FFFFFF#000000##FFFFFF
##2D70C21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d70c2;
/* rgb */ color: rgb(45, 112, 194);
/* oklch */ color: oklch(54.5% 0.145 255.4);
Tailwind
colors: {
  custom: {
    50: '#7b98d5',
    500: '#2d70c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d70c2;
$custom-light: #7b98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70c2",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 213.02,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.1446,
    "h": 255.4
  },
  "luminance": 0.16041
}

Semantic roles & 50–950 ramp

primary
#2D70C2
secondary
#CDA97E
accent
#9C42E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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