#1E263E#1E263E

#1E263E is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.3% C 0.046 H 269.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#1E263E
RGBrgb(30, 38, 62)
HSLhsl(225, 35%, 18%)
HSVhsv(225, 52%, 24%)
CMYKcmyk(51.6%, 38.7%, 0%, 75.7%)
CIE-LABlab(15.54, 4.31, -16.44)
CIE-LCHlch(15.54, 17.00, 284.69°)
OKLaboklab(27.34% -0.0007 -0.0462)
OKLCHoklch(27.34% 0.046 269.2)
XYZxyz(2.0978, 2.0099, 4.8339)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E263E #3E361E
analogous
#1E363E #1E263E #261E3E
triadic
#1E263E #3E1E26 #263E1E
tetradic
#1E263E #3E1E36 #3E361E #1E3E26
square
#1E263E #3E1E36 #3E361E #1E3E26
split-complementary
#1E263E #3E261E #363E1E
monochromatic
#0A0D15 #0A0D15 #1E263E #323F67 #465990

Accessibility & contrast

On white

14.98
#1E263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E263E
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E263E#FFFFFF#000000##FFFFFF
##1E263E1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#1A263D
Tritanopia (blue-blind)
#122B2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e263e;
/* rgb */ color: rgb(30, 38, 62);
/* oklch */ color: oklch(27.3% 0.046 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c6073',
    500: '#1e263e',
    950: '#000000',
  },
}
SCSS
$custom: #1e263e;
$custom-light: #5c6073;
$custom-dark: #000000;
JSON
{
  "hex": "#1e263e",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 225,
    "s": 34.783,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27339,
    "c": 0.04617,
    "h": 269.2
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#1E263E
secondary
#726746
accent
#AF5DCB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1E263E

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

Preview Lab → · Contrast checker → · Palette generator →

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