#1E285A#1E285A

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

Color values

HEX#1E285A
RGBrgb(30, 40, 90)
HSLhsl(230, 50%, 24%)
HSVhsv(230, 67%, 35%)
CMYKcmyk(66.7%, 55.6%, 0%, 64.7%)
CIE-LABlab(18.06, 13.61, -31.49)
CIE-LCHlch(18.06, 34.31, 293.37°)
OKLaboklab(29.88% 0.0022 -0.0902)
OKLCHoklch(29.88% 0.09 271.4)
XYZxyz(3.1391, 2.5315, 9.9941)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E285A #5A501E
analogous
#1E465A #1E285A #321E5A
triadic
#1E285A #5A1E28 #285A1E
tetradic
#1E285A #5A1E46 #5A501E #1E5A32
square
#1E285A #5A1E46 #5A501E #1E5A32
split-complementary
#1E285A #5A321E #465A1E
monochromatic
#080A17 #0F142C #1E285A #2D3C88 #3D51B6

Accessibility & contrast

On white

13.94
#1E285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E285A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E285A#FFFFFF#000000##FFFFFF
##1E285A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e285a;
/* rgb */ color: rgb(30, 40, 90);
/* oklch */ color: oklch(29.9% 0.090 271.4);
Tailwind
colors: {
  custom: {
    50: '#616189',
    500: '#1e285a',
    950: '#000000',
  },
}
SCSS
$custom: #1e285a;
$custom-light: #616189;
$custom-dark: #000000;
JSON
{
  "hex": "#1e285a",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29876,
    "c": 0.09028,
    "h": 271.4
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#1E285A
secondary
#8F8345
accent
#C24EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050B
muted
#7A797C

Preview Lab

Preview with #1E285A

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

Preview Lab → · Contrast checker → · Palette generator →

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