#1E2864#1E2864

#1E2864 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.106 H 271.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1E2864
RGBrgb(30, 40, 100)
HSLhsl(231, 54%, 25%)
HSVhsv(231, 70%, 39%)
CMYKcmyk(70%, 60%, 0%, 60.8%)
CIE-LABlab(18.86, 17.57, -36.81)
CIE-LCHlch(18.86, 40.79, 295.51°)
OKLaboklab(30.73% 0.0029 -0.1059)
OKLCHoklch(30.73% 0.106 271.6)
XYZxyz(3.5937, 2.7134, 12.3885)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2864 #645A1E
analogous
#1E4B64 #1E2864 #371E64
triadic
#1E2864 #641E28 #28641E
tetradic
#1E2864 #641E4B #645A1E #1E6437
square
#1E2864 #641E4B #645A1E #1E6437
split-complementary
#1E2864 #64371E #4B641E
monochromatic
#070918 #101535 #1E2864 #2C3B93 #3A4EC2

Accessibility & contrast

On white

13.61
#1E2864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E2864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2864
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2864#FFFFFF#000000##FFFFFF
##1E28641.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e2864;
/* rgb */ color: rgb(30, 40, 100);
/* oklch */ color: oklch(30.7% 0.106 271.6);
Tailwind
colors: {
  custom: {
    50: '#636191',
    500: '#1e2864',
    950: '#000000',
  },
}
SCSS
$custom: #1e2864;
$custom-light: #636191;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2864",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 231.429,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30728,
    "c": 0.10594,
    "h": 271.6
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#1E2864
secondary
#998D45
accent
#C84BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #1E2864

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

Preview Lab → · Contrast checker → · Palette generator →

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