#1E2A3E#1E2A3E

#1E2A3E is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.041 H 260.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#1E2A3E
RGBrgb(30, 42, 62)
HSLhsl(218, 35%, 18%)
HSVhsv(218, 52%, 24%)
CMYKcmyk(51.6%, 32.3%, 0%, 75.7%)
CIE-LABlab(16.89, 1.42, -14.33)
CIE-LCHlch(16.89, 14.40, 275.67°)
OKLaboklab(28.39% -0.0068 -0.04)
OKLCHoklch(28.39% 0.041 260.3)
XYZxyz(2.2326, 2.2796, 4.8789)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A3E #3E321E
analogous
#1E3A3E #1E2A3E #221E3E
triadic
#1E2A3E #3E1E2A #2A3E1E
tetradic
#1E2A3E #3E1E3A #3E321E #1E3E22
square
#1E2A3E #3E1E3A #3E321E #1E3E22
split-complementary
#1E2A3E #3E221E #3A3E1E
monochromatic
#0A0E15 #0A0E15 #1E2A3E #324667 #466290

Accessibility & contrast

On white

14.42
#1E2A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E2A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A3E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A3E#FFFFFF#000000##FFFFFF
##1E2A3E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3F
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#122E31
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2a3e;
/* rgb */ color: rgb(30, 42, 62);
/* oklch */ color: oklch(28.4% 0.041 260.3);
Tailwind
colors: {
  custom: {
    50: '#5c6373',
    500: '#1e2a3e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a3e;
$custom-light: #5c6373;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a3e",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 217.5,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28391,
    "c": 0.04063,
    "h": 260.3
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#1E2A3E
secondary
#726146
accent
#A25DCB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1E2A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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