#1E4271#1E4271

#1E4271 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.8% C 0.091 H 256.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#1E4271
RGBrgb(30, 66, 113)
HSLhsl(214, 58%, 28%)
HSVhsv(214, 73%, 44%)
CMYKcmyk(73.5%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.75, 4.39, -30.91)
CIE-LCHlch(27.75, 31.22, 278.09°)
OKLaboklab(37.82% -0.0218 -0.0881)
OKLCHoklch(37.82% 0.091 256.1)
XYZxyz(5.4632, 5.3641, 16.3670)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4271 #714D1E
analogous
#1E6B71 #1E4271 #231E71
triadic
#1E4271 #711E42 #42711E
tetradic
#1E4271 #711E6B #714D1E #1E7123
square
#1E4271 #711E6B #714D1E #1E7123
split-complementary
#1E4271 #71231E #6B711E
monochromatic
#060E18 #112641 #1E4271 #2B5EA1 #3E7BCC

Accessibility & contrast

On white

10.13
#1E4271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1E4271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4271
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4271#FFFFFF#000000##FFFFFF
##1E42711.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e4271;
/* rgb */ color: rgb(30, 66, 113);
/* oklch */ color: oklch(37.8% 0.091 256.1);
Tailwind
colors: {
  custom: {
    50: '#65769a',
    500: '#1e4271',
    950: '#000000',
  },
}
SCSS
$custom: #1e4271;
$custom-light: #65769a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4271",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 213.976,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.09079,
    "h": 256.1
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#1E4271
secondary
#A57C46
accent
#9E47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1E4271

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

Preview Lab → · Contrast checker → · Palette generator →

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