#1E334F#1E334F

#1E334F is a dark, muted cyan. Relative luminance 0.032; OKLCH L 31.8% C 0.057 H 256.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1E334F
RGBrgb(30, 51, 79)
HSLhsl(214, 45%, 21%)
HSVhsv(214, 62%, 31%)
CMYKcmyk(62%, 35.4%, 0%, 69%)
CIE-LABlab(20.86, 1.39, -19.69)
CIE-LCHlch(20.86, 19.74, 274.05°)
OKLaboklab(31.79% -0.0138 -0.0555)
OKLCHoklch(31.79% 0.057 256)
XYZxyz(3.1300, 3.2079, 7.8499)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E334F #4F3A1E
analogous
#1E4C4F #1E334F #221E4F
triadic
#1E334F #4F1E33 #334F1E
tetradic
#1E334F #4F1E4C #4F3A1E #1E4F22
square
#1E334F #4F1E4C #4F3A1E #1E4F22
split-complementary
#1E334F #4F221E #4C4F1E
monochromatic
#080E16 #0D1623 #1E334F #2F507B #406CA8

Accessibility & contrast

On white

12.79
#1E334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E334F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E334F#FFFFFF#000000##FFFFFF
##1E334F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e334f;
/* rgb */ color: rgb(30, 51, 79);
/* oklch */ color: oklch(31.8% 0.057 256.0);
Tailwind
colors: {
  custom: {
    50: '#5e6a80',
    500: '#1e334f',
    950: '#000000',
  },
}
SCSS
$custom: #1e334f;
$custom-light: #5e6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#1e334f",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 214.286,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31794,
    "c": 0.05723,
    "h": 256
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#1E334F
secondary
#846945
accent
#9D53D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #1E334F

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

Preview Lab → · Contrast checker → · Palette generator →

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