#1E2860#1E2860

#1E2860 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.100 H 271.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E2860
RGBrgb(30, 40, 96)
HSLhsl(231, 52%, 25%)
HSVhsv(231, 69%, 38%)
CMYKcmyk(68.7%, 58.3%, 0%, 62.4%)
CIE-LABlab(18.53, 15.98, -34.71)
CIE-LCHlch(18.53, 38.21, 294.73°)
OKLaboklab(30.38% 0.0027 -0.0997)
OKLCHoklch(30.38% 0.1 271.6)
XYZxyz(3.4048, 2.6378, 11.3938)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2860 #60561E
analogous
#1E4960 #1E2860 #351E60
triadic
#1E2860 #601E28 #28601E
tetradic
#1E2860 #601E49 #60561E #1E6035
square
#1E2860 #601E49 #60561E #1E6035
split-complementary
#1E2860 #60351E #49601E
monochromatic
#070A17 #0F1531 #1E2860 #2D3B8F #3B4FBD

Accessibility & contrast

On white

13.75
#1E2860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E2860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2860
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2860#FFFFFF#000000##FFFFFF
##1E28601.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2860;
/* rgb */ color: rgb(30, 40, 96);
/* oklch */ color: oklch(30.4% 0.100 271.6);
Tailwind
colors: {
  custom: {
    50: '#62618e',
    500: '#1e2860',
    950: '#000000',
  },
}
SCSS
$custom: #1e2860;
$custom-light: #62618e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2860",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 230.909,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3038,
    "c": 0.09976,
    "h": 271.6
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#1E2860
secondary
#958945
accent
#C64CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #1E2860

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

Preview Lab → · Contrast checker → · Palette generator →

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