#1E243C#1E243C

#1E243C is a dark, muted blue. Relative luminance 0.019; OKLCH L 26.7% C 0.046 H 272.3°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1E243C
RGBrgb(30, 36, 60)
HSLhsl(228, 33%, 18%)
HSVhsv(228, 50%, 24%)
CMYKcmyk(50%, 40%, 0%, 76.5%)
CIE-LABlab(14.76, 5.05, -16.27)
CIE-LCHlch(14.76, 17.04, 287.23°)
OKLaboklab(26.7% 0.0018 -0.0457)
OKLCHoklch(26.7% 0.046 272.3)
XYZxyz(1.9817, 1.8639, 4.5294)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E243C #3C361E
analogous
#1E333C #1E243C #271E3C
triadic
#1E243C #3C1E24 #243C1E
tetradic
#1E243C #3C1E33 #3C361E #1E3C27
square
#1E243C #3C1E33 #3C361E #1E3C27
split-complementary
#1E243C #3C271E #333C1E
monochromatic
#0A0C14 #0A0C14 #1E243C #323C65 #47558E

Accessibility & contrast

On white

15.30
#1E243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E243C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E243C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E243C#FFFFFF#000000##FFFFFF
##1E243C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273D
Deuteranopia (green-blind)
#19243B
Tritanopia (blue-blind)
#14292D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e243c;
/* rgb */ color: rgb(30, 36, 60);
/* oklch */ color: oklch(26.7% 0.046 272.3);
Tailwind
colors: {
  custom: {
    50: '#5b5e72',
    500: '#1e243c',
    950: '#000000',
  },
}
SCSS
$custom: #1e243c;
$custom-light: #5b5e72;
$custom-dark: #000000;
JSON
{
  "hex": "#1e243c",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 228,
    "s": 33.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26696,
    "c": 0.04573,
    "h": 272.3
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#1E243C
secondary
#706846
accent
#B45EC9
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #1E243C

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

Preview Lab → · Contrast checker → · Palette generator →

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