#1E1575#1E1575

#1E1575 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.153 H 275.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#1E1575
RGBrgb(30, 21, 117)
HSLhsl(246, 70%, 27%)
HSVhsv(246, 82%, 46%)
CMYKcmyk(74.4%, 82.1%, 0%, 54.1%)
CIE-LABlab(15.98, 36.25, -52.59)
CIE-LCHlch(15.98, 63.87, 304.58°)
OKLaboklab(29.17% 0.0145 -0.152)
OKLCHoklch(29.17% 0.153 275.4)
XYZxyz(4.0134, 2.0963, 17.0193)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1575 #6C7515
analogous
#153C75 #1E1575 #4E1575
triadic
#1E1575 #751E15 #15751E
tetradic
#1E1575 #75153C #6C7515 #15754E
square
#1E1575 #75153C #6C7515 #15754E
split-complementary
#1E1575 #754E15 #3C7515
monochromatic
#07051A #110C41 #1E1575 #2B1EA9 #3C2BD9

Accessibility & contrast

On white

14.79
#1E1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1575
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1575#FFFFFF#000000##FFFFFF
##1E15751.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1575;
/* rgb */ color: rgb(30, 21, 117);
/* oklch */ color: oklch(29.2% 0.153 275.4);
Tailwind
colors: {
  custom: {
    50: '#69559e',
    500: '#1e1575',
    950: '#000000',
  },
}
SCSS
$custom: #1e1575;
$custom-light: #69559e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1575",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 245.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29167,
    "c": 0.15274,
    "h": 275.4
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#1E1575
secondary
#A0AB3B
accent
#EC3BDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1575

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

Preview Lab → · Contrast checker → · Palette generator →

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