#1E255D#1E255D

#1E255D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.099 H 273.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#1E255D
RGBrgb(30, 37, 93)
HSLhsl(233, 51%, 24%)
HSVhsv(233, 68%, 36%)
CMYKcmyk(67.7%, 60.2%, 0%, 63.5%)
CIE-LABlab(17.41, 16.97, -34.54)
CIE-LCHlch(17.41, 38.48, 296.17°)
OKLaboklab(29.46% 0.0057 -0.0992)
OKLCHoklch(29.46% 0.099 273.3)
XYZxyz(3.1721, 2.3892, 10.6478)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E255D #5D561E
analogous
#1E455D #1E255D #371E5D
triadic
#1E255D #5D1E25 #255D1E
tetradic
#1E255D #5D1E45 #5D561E #1E5D37
square
#1E255D #5D1E45 #5D561E #1E5D37
split-complementary
#1E255D #5D371E #455D1E
monochromatic
#070917 #0F132F #1E255D #2D378B #3C4ABA

Accessibility & contrast

On white

14.21
#1E255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E255D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E255D#FFFFFF#000000##FFFFFF
##1E255D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e255d;
/* rgb */ color: rgb(30, 37, 93);
/* oklch */ color: oklch(29.5% 0.099 273.3);
Tailwind
colors: {
  custom: {
    50: '#625f8b',
    500: '#1e255d',
    950: '#000000',
  },
}
SCSS
$custom: #1e255d;
$custom-light: #625f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e255d",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 233.333,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29464,
    "c": 0.09941,
    "h": 273.3
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#1E255D
secondary
#928945
accent
#CB4DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E255D

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

Preview Lab → · Contrast checker → · Palette generator →

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