#2D70D0#2D70D0

#2D70D0 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.163 H 258.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D70D0
RGBrgb(45, 112, 208)
HSLhsl(215, 64%, 50%)
HSVhsv(215, 78%, 82%)
CMYKcmyk(78.4%, 46.2%, 0%, 18.4%)
CIE-LABlab(47.88, 13.16, -55.57)
CIE-LCHlch(47.88, 57.11, 283.32°)
OKLaboklab(55.46% -0.0338 -0.1595)
OKLCHoklch(55.46% 0.163 258.1)
XYZxyz(18.2573, 16.6981, 61.9231)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70D0 #D08D2D
analogous
#2DC2D0 #2D70D0 #3B2DD0
triadic
#2D70D0 #D02D70 #70D02D
tetradic
#2D70D0 #D02DC2 #D08D2D #2DD03B
square
#2D70D0 #D02DC2 #D08D2D #2DD03B
split-complementary
#2D70D0 #D03B2D #C2D02D
monochromatic
#173A6B #22559E #2D70D0 #5E92DC #90B4E7

Accessibility & contrast

On white

4.84
#2D70D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2D70D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70D0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70D0#FFFFFF#000000##FFFFFF
##2D70D01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7AD4
Deuteranopia (green-blind)
#106BCE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d70d0;
/* rgb */ color: rgb(45, 112, 208);
/* oklch */ color: oklch(55.5% 0.163 258.1);
Tailwind
colors: {
  custom: {
    50: '#7e98df',
    500: '#2d70d0',
    950: '#000000',
  },
}
SCSS
$custom: #2d70d0;
$custom-light: #7e98df;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70d0",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 208
  },
  "hsl": {
    "h": 215.337,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55461,
    "c": 0.16305,
    "h": 258.1
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#2D70D0
secondary
#D2B387
accent
#A340E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2D70D0

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

Preview Lab → · Contrast checker → · Palette generator →

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