#1E285E#1E285E

#1E285E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.097 H 271.5°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#1E285E
RGBrgb(30, 40, 94)
HSLhsl(231, 52%, 24%)
HSVhsv(231, 68%, 37%)
CMYKcmyk(68.1%, 57.4%, 0%, 63.1%)
CIE-LABlab(18.37, 15.19, -33.65)
CIE-LCHlch(18.37, 36.92, 294.30°)
OKLaboklab(30.21% 0.0026 -0.0966)
OKLCHoklch(30.21% 0.097 271.5)
XYZxyz(3.3139, 2.6015, 10.9150)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E285E #5E541E
analogous
#1E485E #1E285E #341E5E
triadic
#1E285E #5E1E28 #285E1E
tetradic
#1E285E #5E1E48 #5E541E #1E5E34
square
#1E285E #5E1E48 #5E541E #1E5E34
split-complementary
#1E285E #5E341E #485E1E
monochromatic
#070A17 #0F1430 #1E285E #2D3C8C #3C4FBB

Accessibility & contrast

On white

13.81
#1E285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E285E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E285E#FFFFFF#000000##FFFFFF
##1E285E1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053060
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e285e;
/* rgb */ color: rgb(30, 40, 94);
/* oklch */ color: oklch(30.2% 0.097 271.5);
Tailwind
colors: {
  custom: {
    50: '#62618c',
    500: '#1e285e',
    950: '#000000',
  },
}
SCSS
$custom: #1e285e;
$custom-light: #62618c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e285e",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 230.625,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3021,
    "c": 0.09662,
    "h": 271.5
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#1E285E
secondary
#938745
accent
#C54DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1E285E

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

Preview Lab → · Contrast checker → · Palette generator →

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