#1E1175#1E1175

#1E1175 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.156 H 276.0°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1E1175
RGBrgb(30, 17, 117)
HSLhsl(248, 75%, 26%)
HSVhsv(248, 85%, 46%)
CMYKcmyk(74.4%, 85.5%, 0%, 54.1%)
CIE-LABlab(15.28, 38.30, -53.76)
CIE-LCHlch(15.28, 66.00, 305.47°)
OKLaboklab(28.68% 0.0162 -0.1554)
OKLCHoklch(28.68% 0.156 276)
XYZxyz(3.9457, 1.9609, 16.9967)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1175 #687511
analogous
#113675 #1E1175 #501175
triadic
#1E1175 #751E11 #11751E
tetradic
#1E1175 #751136 #687511 #117550
square
#1E1175 #751136 #687511 #117550
split-complementary
#1E1175 #755011 #367511
monochromatic
#07041B #100940 #1E1175 #2C19AA #3A22DF

Accessibility & contrast

On white

15.08
#1E1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1175
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1175#FFFFFF#000000##FFFFFF
##1E11751.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1175;
/* rgb */ color: rgb(30, 17, 117);
/* oklch */ color: oklch(28.7% 0.156 276.0);
Tailwind
colors: {
  custom: {
    50: '#6a539e',
    500: '#1e1175',
    950: '#000000',
  },
}
SCSS
$custom: #1e1175;
$custom-light: #6a539e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1175",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 247.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28678,
    "c": 0.15622,
    "h": 276
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#1E1175
secondary
#9DAC36
accent
#F137D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #1E1175

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

Preview Lab → · Contrast checker → · Palette generator →

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