#2E70D4#2E70D4

#2E70D4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.168 H 258.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E70D4
RGBrgb(46, 112, 212)
HSLhsl(216, 66%, 51%)
HSVhsv(216, 78%, 83%)
CMYKcmyk(78.3%, 47.2%, 0%, 16.9%)
CIE-LABlab(48.16, 14.78, -57.39)
CIE-LCHlch(48.16, 59.26, 284.44°)
OKLaboklab(55.77% -0.0325 -0.1649)
OKLCHoklch(55.77% 0.168 258.8)
XYZxyz(18.8002, 16.9204, 64.5497)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70D4 #D4922E
analogous
#2EC3D4 #2E70D4 #3F2ED4
triadic
#2E70D4 #D42E70 #70D42E
tetradic
#2E70D4 #D42EC3 #D4922E #2ED43F
square
#2E70D4 #D42EC3 #D4922E #2ED43F
split-complementary
#2E70D4 #D43F2E #C3D42E
monochromatic
#173B70 #2255A3 #2E70D4 #6193DE #94B5E9

Accessibility & contrast

On white

4.79
#2E70D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2E70D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70D4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70D4#FFFFFF#000000##FFFFFF
##2E70D41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e70d4;
/* rgb */ color: rgb(46, 112, 212);
/* oklch */ color: oklch(55.8% 0.168 258.8);
Tailwind
colors: {
  custom: {
    50: '#7f98e2',
    500: '#2e70d4',
    950: '#000000',
  },
}
SCSS
$custom: #2e70d4;
$custom-light: #7f98e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70d4",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 212
  },
  "hsl": {
    "h": 216.145,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.16805,
    "h": 258.8
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#2E70D4
secondary
#D4B68A
accent
#A53FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E70D4

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

Preview Lab → · Contrast checker → · Palette generator →

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