#1E135F#1E135F

#1E135F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.126 H 279.9°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#1E135F
RGBrgb(30, 19, 95)
HSLhsl(249, 67%, 22%)
HSVhsv(249, 80%, 37%)
CMYKcmyk(68.4%, 80%, 0%, 62.7%)
CIE-LABlab(13.03, 29.89, -43.03)
CIE-LCHlch(13.03, 52.39, 304.79°)
OKLaboklab(26.34% 0.0216 -0.1242)
OKLCHoklch(26.34% 0.126 279.9)
XYZxyz(2.8332, 1.5678, 10.9776)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E135F #545F13
analogous
#132E5F #1E135F #44135F
triadic
#1E135F #5F1E13 #135F1E
tetradic
#1E135F #5F132E #545F13 #135F44
square
#1E135F #5F132E #545F13 #135F44
split-complementary
#1E135F #5F4413 #2E5F13
monochromatic
#08051A #0E092C #1E135F #2E1D92 #3E27C5

Accessibility & contrast

On white

15.99
#1E135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E135F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E135F#FFFFFF#000000##FFFFFF
##1E135F1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e135f;
/* rgb */ color: rgb(30, 19, 95);
/* oklch */ color: oklch(26.3% 0.126 279.9);
Tailwind
colors: {
  custom: {
    50: '#64528d',
    500: '#1e135f',
    950: '#000000',
  },
}
SCSS
$custom: #1e135f;
$custom-light: #64528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e135f",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 248.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26339,
    "c": 0.12605,
    "h": 279.9
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#1E135F
secondary
#899737
accent
#EA3ED1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E135F

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

Preview Lab → · Contrast checker → · Palette generator →

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