#1E1875#1E1875

#1E1875 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.150 H 275.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#1E1875
RGBrgb(30, 24, 117)
HSLhsl(244, 66%, 28%)
HSVhsv(244, 79%, 46%)
CMYKcmyk(74.4%, 79.5%, 0%, 54.1%)
CIE-LABlab(16.57, 34.57, -51.62)
CIE-LCHlch(16.57, 62.13, 303.81°)
OKLaboklab(29.58% 0.013 -0.1493)
OKLCHoklch(29.58% 0.15 275)
XYZxyz(4.0719, 2.2132, 17.0388)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1875 #6F7518
analogous
#184075 #1E1875 #4C1875
triadic
#1E1875 #751E18 #18751E
tetradic
#1E1875 #751840 #6F7518 #18754C
square
#1E1875 #751840 #6F7518 #18754C
split-complementary
#1E1875 #754C18 #407518
monochromatic
#070519 #110E42 #1E1875 #2B22A8 #3D32D5

Accessibility & contrast

On white

14.56
#1E1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1875
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1875#FFFFFF#000000##FFFFFF
##1E18751.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1875;
/* rgb */ color: rgb(30, 24, 117);
/* oklch */ color: oklch(29.6% 0.150 275.0);
Tailwind
colors: {
  custom: {
    50: '#69579e',
    500: '#1e1875',
    950: '#000000',
  },
}
SCSS
$custom: #1e1875;
$custom-light: #69579e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1875",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 243.871,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29577,
    "c": 0.14985,
    "h": 275
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#1E1875
secondary
#A3AA3F
accent
#E93FDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1875

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

Preview Lab → · Contrast checker → · Palette generator →

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