#2D70CE#2D70CE

#2D70CE is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.160 H 257.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D70CE
RGBrgb(45, 112, 206)
HSLhsl(215, 64%, 49%)
HSVhsv(215, 78%, 81%)
CMYKcmyk(78.2%, 45.6%, 0%, 19.2%)
CIE-LABlab(47.75, 12.40, -54.63)
CIE-LCHlch(47.75, 56.02, 282.79°)
OKLaboklab(55.32% -0.0341 -0.1567)
OKLCHoklch(55.32% 0.16 257.7)
XYZxyz(18.0128, 16.6003, 60.6354)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70CE #CE8B2D
analogous
#2DC1CE #2D70CE #3B2DCE
triadic
#2D70CE #CE2D70 #70CE2D
tetradic
#2D70CE #CE2DC1 #CE8B2D #2DCE3B
square
#2D70CE #CE2DC1 #CE8B2D #2DCE3B
split-complementary
#2D70CE #CE3B2D #C1CE2D
monochromatic
#17396A #22559C #2D70CE #5D91DC #8FB3E7

Accessibility & contrast

On white

4.86
#2D70CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2D70CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70CE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70CE#FFFFFF#000000##FFFFFF
##2D70CE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#176BCC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d70ce;
/* rgb */ color: rgb(45, 112, 206);
/* oklch */ color: oklch(55.3% 0.160 257.7);
Tailwind
colors: {
  custom: {
    50: '#7e98dd',
    500: '#2d70ce',
    950: '#000000',
  },
}
SCSS
$custom: #2d70ce;
$custom-light: #7e98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70ce",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 215.031,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.16042,
    "h": 257.7
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#2D70CE
secondary
#D1B286
accent
#A241E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D70CE

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

Preview Lab → · Contrast checker → · Palette generator →

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