#1E2D5E#1E2D5E

#1E2D5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.089 H 268.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1E2D5E
RGBrgb(30, 45, 94)
HSLhsl(226, 52%, 24%)
HSVhsv(226, 68%, 37%)
CMYKcmyk(68.1%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.89, 11.56, -31.21)
CIE-LCHlch(19.89, 33.28, 290.33°)
OKLaboklab(31.36% -0.0029 -0.0893)
OKLCHoklch(31.36% 0.089 268.1)
XYZxyz(3.4935, 2.9606, 10.9749)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D5E #5E4F1E
analogous
#1E4D5E #1E2D5E #2F1E5E
triadic
#1E2D5E #5E1E2D #2D5E1E
tetradic
#1E2D5E #5E1E4D #5E4F1E #1E5E2F
square
#1E2D5E #5E1E4D #5E4F1E #1E5E2F
split-complementary
#1E2D5E #5E2F1E #4D5E1E
monochromatic
#070B17 #0F1730 #1E2D5E #2D438C #3C59BB

Accessibility & contrast

On white

13.19
#1E2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D5E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D5E#FFFFFF#000000##FFFFFF
##1E2D5E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#062D5D
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2d5e;
/* rgb */ color: rgb(30, 45, 94);
/* oklch */ color: oklch(31.4% 0.089 268.1);
Tailwind
colors: {
  custom: {
    50: '#61658c',
    500: '#1e2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d5e;
$custom-light: #61658c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d5e",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 225.938,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.08938,
    "h": 268.1
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#1E2D5E
secondary
#938145
accent
#BA4DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1E2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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