#1E4170#1E4170

#1E4170 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.091 H 256.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#1E4170
RGBrgb(30, 65, 112)
HSLhsl(214, 58%, 28%)
HSVhsv(214, 73%, 44%)
CMYKcmyk(73.2%, 42%, 0%, 56.1%)
CIE-LABlab(27.37, 4.68, -30.88)
CIE-LCHlch(27.37, 31.23, 278.61°)
OKLaboklab(37.51% -0.021 -0.088)
OKLCHoklch(37.51% 0.091 256.6)
XYZxyz(5.3493, 5.2259, 16.0529)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4170 #704D1E
analogous
#1E6A70 #1E4170 #241E70
triadic
#1E4170 #701E41 #41701E
tetradic
#1E4170 #701E6A #704D1E #1E7024
square
#1E4170 #701E6A #704D1E #1E7024
split-complementary
#1E4170 #70241E #6A701E
monochromatic
#060E18 #112540 #1E4170 #2B5DA0 #3D7ACB

Accessibility & contrast

On white

10.27
#1E4170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1E4170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4170
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4170#FFFFFF#000000##FFFFFF
##1E41701.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4572
Deuteranopia (green-blind)
#1E3D6F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e4170;
/* rgb */ color: rgb(30, 65, 112);
/* oklch */ color: oklch(37.5% 0.091 256.6);
Tailwind
colors: {
  custom: {
    50: '#657599',
    500: '#1e4170',
    950: '#000000',
  },
}
SCSS
$custom: #1e4170;
$custom-light: #657599;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4170",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 214.39,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.09053,
    "h": 256.6
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#1E4170
secondary
#A47C46
accent
#9F47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1E4170

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

Preview Lab → · Contrast checker → · Palette generator →

#1E4170 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva