#2D70C1#2D70C1

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

Color values

HEX#2D70C1
RGBrgb(45, 112, 193)
HSLhsl(213, 62%, 47%)
HSVhsv(213, 77%, 76%)
CMYKcmyk(76.7%, 42%, 0%, 24.3%)
CIE-LABlab(46.97, 7.50, -48.42)
CIE-LCHlch(46.97, 49.00, 278.81°)
OKLaboklab(54.46% -0.0367 -0.1385)
OKLCHoklch(54.46% 0.143 255.2)
XYZxyz(16.4984, 15.9946, 52.6595)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70C1 #C17E2D
analogous
#2DBAC1 #2D70C1 #342DC1
triadic
#2D70C1 #C12D70 #70C12D
tetradic
#2D70C1 #C12DBA #C17E2D #2DC134
square
#2D70C1 #C12DBA #C17E2D #2DC134
split-complementary
#2D70C1 #C1342D #BAC12D
monochromatic
#16365E #21538F #2D70C1 #548FD7 #86B0E3

Accessibility & contrast

On white

5.00
#2D70C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D70C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70C1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70C1#FFFFFF#000000##FFFFFF
##2D70C11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d70c1;
/* rgb */ color: rgb(45, 112, 193);
/* oklch */ color: oklch(54.5% 0.143 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b98d4',
    500: '#2d70c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d70c1;
$custom-light: #7b98d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70c1",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 212.838,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.14328,
    "h": 255.2
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#2D70C1
secondary
#CCA97E
accent
#9C43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D70C1

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

Preview Lab → · Contrast checker → · Palette generator →

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