#1E283F#1E283F

#1E283F is a dark, muted blue. Relative luminance 0.022; OKLCH L 27.9% C 0.045 H 265.7°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1E283F
RGBrgb(30, 40, 63)
HSLhsl(222, 35%, 18%)
HSVhsv(222, 52%, 25%)
CMYKcmyk(52.4%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.27, 3.22, -15.99)
CIE-LCHlch(16.27, 16.31, 281.38°)
OKLaboklab(27.92% -0.0034 -0.0449)
OKLCHoklch(27.92% 0.045 265.7)
XYZxyz(2.1911, 2.1524, 5.0017)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E283F #3F351E
analogous
#1E383F #1E283F #241E3F
triadic
#1E283F #3F1E28 #283F1E
tetradic
#1E283F #3F1E38 #3F351E #1E3F24
square
#1E283F #3F1E38 #3F351E #1E3F24
split-complementary
#1E283F #3F241E #383F1E
monochromatic
#0A0D15 #0A0E16 #1E283F #324268 #455D92

Accessibility & contrast

On white

14.68
#1E283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E283F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E283F#FFFFFF#000000##FFFFFF
##1E283F1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#112D30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e283f;
/* rgb */ color: rgb(30, 40, 63);
/* oklch */ color: oklch(27.9% 0.045 265.7);
Tailwind
colors: {
  custom: {
    50: '#5c6174',
    500: '#1e283f',
    950: '#000000',
  },
}
SCSS
$custom: #1e283f;
$custom-light: #5c6174;
$custom-dark: #000000;
JSON
{
  "hex": "#1e283f",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 221.818,
    "s": 35.484,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27922,
    "c": 0.04501,
    "h": 265.7
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#1E283F
secondary
#736545
accent
#AA5CCC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1E283F

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

Preview Lab → · Contrast checker → · Palette generator →

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