#2D70D3#2D70D3

#2D70D3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.167 H 258.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D70D3
RGBrgb(45, 112, 211)
HSLhsl(216, 65%, 50%)
HSVhsv(216, 79%, 83%)
CMYKcmyk(78.7%, 46.9%, 0%, 17.3%)
CIE-LABlab(48.07, 14.29, -56.97)
CIE-LCHlch(48.07, 58.74, 284.08°)
OKLaboklab(55.67% -0.0333 -0.1637)
OKLCHoklch(55.67% 0.167 258.5)
XYZxyz(18.6299, 16.8472, 63.8853)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70D3 #D3902D
analogous
#2DC3D3 #2D70D3 #3D2DD3
triadic
#2D70D3 #D32D70 #70D32D
tetradic
#2D70D3 #D32DC3 #D3902D #2DD33D
square
#2D70D3 #D32DC3 #D3902D #2DD33D
split-complementary
#2D70D3 #D33D2D #C3D32D
monochromatic
#173A6E #2255A1 #2D70D3 #6092DE #92B5E8

Accessibility & contrast

On white

4.81
#2D70D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2D70D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70D3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70D3#FFFFFF#000000##FFFFFF
##2D70D31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397AD7
Deuteranopia (green-blind)
#026BD1
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d70d3;
/* rgb */ color: rgb(45, 112, 211);
/* oklch */ color: oklch(55.7% 0.167 258.5);
Tailwind
colors: {
  custom: {
    50: '#7f98e1',
    500: '#2d70d3',
    950: '#000000',
  },
}
SCSS
$custom: #2d70d3;
$custom-light: #7f98e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70d3",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 211
  },
  "hsl": {
    "h": 215.783,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.16701,
    "h": 258.5
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#2D70D3
secondary
#D3B589
accent
#A43FE8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2D70D3

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

Preview Lab → · Contrast checker → · Palette generator →

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