#1E285B#1E285B

#1E285B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.092 H 271.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#1E285B
RGBrgb(30, 40, 91)
HSLhsl(230, 50%, 24%)
HSVhsv(230, 67%, 36%)
CMYKcmyk(67%, 56%, 0%, 64.3%)
CIE-LABlab(18.14, 14.00, -32.03)
CIE-LCHlch(18.14, 34.96, 293.61°)
OKLaboklab(29.96% 0.0023 -0.0918)
OKLCHoklch(29.96% 0.092 271.4)
XYZxyz(3.1819, 2.5487, 10.2198)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E285B #5B511E
analogous
#1E465B #1E285B #321E5B
triadic
#1E285B #5B1E28 #285B1E
tetradic
#1E285B #5B1E46 #5B511E #1E5B32
square
#1E285B #5B1E46 #5B511E #1E5B32
split-complementary
#1E285B #5B321E #465B1E
monochromatic
#080A17 #0F142D #1E285B #2D3C89 #3C50B7

Accessibility & contrast

On white

13.91
#1E285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E285B
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E285B#FFFFFF#000000##FFFFFF
##1E285B1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e285b;
/* rgb */ color: rgb(30, 40, 91);
/* oklch */ color: oklch(30.0% 0.092 271.4);
Tailwind
colors: {
  custom: {
    50: '#61618a',
    500: '#1e285b',
    950: '#000000',
  },
}
SCSS
$custom: #1e285b;
$custom-light: #61618a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e285b",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 230.164,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29959,
    "c": 0.09187,
    "h": 271.4
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#1E285B
secondary
#908445
accent
#C34EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1E285B

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

Preview Lab → · Contrast checker → · Palette generator →

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