#2E70A1#2E70A1

#2E70A1 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.102 H 244.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2E70A1
RGBrgb(46, 112, 161)
HSLhsl(206, 56%, 41%)
HSVhsv(206, 71%, 63%)
CMYKcmyk(71.4%, 30.4%, 0%, 36.9%)
CIE-LABlab(45.28, -4.21, -32.46)
CIE-LCHlch(45.28, 32.73, 262.61°)
OKLaboklab(52.59% -0.0445 -0.0918)
OKLCHoklch(52.59% 0.102 244.1)
XYZxyz(13.3514, 14.7409, 35.8529)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70A1 #A15F2E
analogous
#2EA198 #2E70A1 #2E36A1
triadic
#2E70A1 #A12E70 #70A12E
tetradic
#2E70A1 #982EA1 #A15F2E #36A12E
square
#2E70A1 #982EA1 #A15F2E #36A12E
split-complementary
#2E70A1 #A12E36 #A1982E
monochromatic
#132E42 #204F71 #2E70A1 #4390C9 #73ACD7

Accessibility & contrast

On white

5.32
#2E70A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2E70A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70A1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70A1#FFFFFF#000000##FFFFFF
##2E70A11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A3
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e70a1;
/* rgb */ color: rgb(46, 112, 161);
/* oklch */ color: oklch(52.6% 0.102 244.1);
Tailwind
colors: {
  custom: {
    50: '#7598bd',
    500: '#2e70a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e70a1;
$custom-light: #7598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70a1",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 161
  },
  "hsl": {
    "h": 205.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.10202,
    "h": 244.1
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#2E70A1
secondary
#BE8F6C
accent
#8949DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2E70A1

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

Preview Lab → · Contrast checker → · Palette generator →

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