#1E2D5C#1E2D5C

#1E2D5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.086 H 267.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1E2D5C
RGBrgb(30, 45, 92)
HSLhsl(225, 51%, 24%)
HSVhsv(225, 67%, 36%)
CMYKcmyk(67.4%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.74, 10.77, -30.12)
CIE-LCHlch(19.74, 31.98, 289.67°)
OKLaboklab(31.2% -0.0032 -0.0861)
OKLCHoklch(31.2% 0.086 267.9)
XYZxyz(3.4049, 2.9252, 10.5083)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D5C #5C4D1E
analogous
#1E4C5C #1E2D5C #2E1E5C
triadic
#1E2D5C #5C1E2D #2D5C1E
tetradic
#1E2D5C #5C1E4C #5C4D1E #1E5C2E
square
#1E2D5C #5C1E4C #5C4D1E #1E5C2E
split-complementary
#1E2D5C #5C2E1E #4C5C1E
monochromatic
#080B17 #0F162E #1E2D5C #2D448A #3C5AB8

Accessibility & contrast

On white

13.25
#1E2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E2D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D5C
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D5C#FFFFFF#000000##FFFFFF
##1E2D5C1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335E
Deuteranopia (green-blind)
#0A2D5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2d5c;
/* rgb */ color: rgb(30, 45, 92);
/* oklch */ color: oklch(31.2% 0.086 267.9);
Tailwind
colors: {
  custom: {
    50: '#61658a',
    500: '#1e2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d5c;
$custom-light: #61658a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d5c",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 225.484,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.312,
    "c": 0.08618,
    "h": 267.9
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#1E2D5C
secondary
#917F45
accent
#B84DDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1E2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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