#1E203E#1E203E

#1E203E is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.056 H 278.8°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#1E203E
RGBrgb(30, 32, 62)
HSLhsl(236, 35%, 18%)
HSVhsv(236, 52%, 24%)
CMYKcmyk(51.6%, 48.4%, 0%, 75.7%)
CIE-LABlab(13.57, 8.74, -19.54)
CIE-LCHlch(13.57, 21.41, 294.09°)
OKLaboklab(25.83% 0.0086 -0.0552)
OKLCHoklch(25.83% 0.056 278.8)
XYZxyz(1.9212, 1.6567, 4.7750)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E203E #3E3C1E
analogous
#1E303E #1E203E #2C1E3E
triadic
#1E203E #3E1E20 #203E1E
tetradic
#1E203E #3E1E30 #3E3C1E #1E3E2C
square
#1E203E #3E1E30 #3E3C1E #1E3E2C
split-complementary
#1E203E #3E2C1E #303E1E
monochromatic
#0A0B15 #0A0B15 #1E203E #323567 #464B90

Accessibility & contrast

On white

15.77
#1E203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E203E
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E203E#FFFFFF#000000##FFFFFF
##1E203E1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243F
Deuteranopia (green-blind)
#12223D
Tritanopia (blue-blind)
#13262C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e203e;
/* rgb */ color: rgb(30, 32, 62);
/* oklch */ color: oklch(25.8% 0.056 278.8);
Tailwind
colors: {
  custom: {
    50: '#5c5b73',
    500: '#1e203e',
    950: '#000000',
  },
}
SCSS
$custom: #1e203e;
$custom-light: #5c5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#1e203e",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 236.25,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25827,
    "c": 0.05591,
    "h": 278.8
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#1E203E
secondary
#726F46
accent
#C45DCB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1E203E

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

Preview Lab → · Contrast checker → · Palette generator →

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