#1E1865#1E1865

#1E1865 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.129 H 277.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#1E1865
RGBrgb(30, 24, 101)
HSLhsl(245, 62%, 25%)
HSVhsv(245, 76%, 40%)
CMYKcmyk(70.3%, 76.2%, 0%, 60.4%)
CIE-LABlab(14.78, 28.94, -44.13)
CIE-LCHlch(14.78, 52.78, 303.26°)
OKLaboklab(27.78% 0.0166 -0.1274)
OKLCHoklch(27.78% 0.129 277.4)
XYZxyz(3.2103, 1.8686, 12.5009)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1865 #5F6518
analogous
#183965 #1E1865 #451865
triadic
#1E1865 #651E18 #18651E
tetradic
#1E1865 #651839 #5F6518 #186545
square
#1E1865 #651839 #5F6518 #186545
split-complementary
#1E1865 #654518 #396518
monochromatic
#070619 #0F0C34 #1E1865 #2D2496 #3B30C8

Accessibility & contrast

On white

15.29
#1E1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1865
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1865#FFFFFF#000000##FFFFFF
##1E18651.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1865;
/* rgb */ color: rgb(30, 24, 101);
/* oklch */ color: oklch(27.8% 0.129 277.4);
Tailwind
colors: {
  custom: {
    50: '#655692',
    500: '#1e1865',
    950: '#000000',
  },
}
SCSS
$custom: #1e1865;
$custom-light: #655692;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1865",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 244.675,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27777,
    "c": 0.12853,
    "h": 277.4
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#1E1865
secondary
#949B3E
accent
#E543D8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1865

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

Preview Lab → · Contrast checker → · Palette generator →

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