#1E285F#1E285F

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

Color values

HEX#1E285F
RGBrgb(30, 40, 95)
HSLhsl(231, 52%, 25%)
HSVhsv(231, 68%, 37%)
CMYKcmyk(68.4%, 57.9%, 0%, 62.7%)
CIE-LABlab(18.45, 15.59, -34.18)
CIE-LCHlch(18.45, 37.57, 294.52°)
OKLaboklab(30.3% 0.0026 -0.0981)
OKLCHoklch(30.3% 0.098 271.5)
XYZxyz(3.3591, 2.6195, 11.1529)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E285F #5F551E
analogous
#1E495F #1E285F #351E5F
triadic
#1E285F #5F1E28 #285F1E
tetradic
#1E285F #5F1E49 #5F551E #1E5F35
square
#1E285F #5F1E49 #5F551E #1E5F35
split-complementary
#1E285F #5F351E #495F1E
monochromatic
#070A17 #0F1430 #1E285F #2D3C8E #3B4FBC

Accessibility & contrast

On white

13.78
#1E285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E285F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E285F#FFFFFF#000000##FFFFFF
##1E285F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e285f;
/* rgb */ color: rgb(30, 40, 95);
/* oklch */ color: oklch(30.3% 0.098 271.5);
Tailwind
colors: {
  custom: {
    50: '#62618d',
    500: '#1e285f',
    950: '#000000',
  },
}
SCSS
$custom: #1e285f;
$custom-light: #62618d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e285f",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 230.769,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30295,
    "c": 0.09819,
    "h": 271.5
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#1E285F
secondary
#948845
accent
#C54CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1E285F

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

Preview Lab → · Contrast checker → · Palette generator →

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