#1E148E#1E148E

#1E148E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.184 H 272.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1E148E
RGBrgb(30, 20, 142)
HSLhsl(245, 75%, 32%)
HSVhsv(245, 86%, 56%)
CMYKcmyk(78.9%, 85.9%, 0%, 44.3%)
CIE-LABlab(18.92, 44.80, -63.57)
CIE-LCHlch(18.92, 77.77, 305.17°)
OKLaboklab(32.1% 0.0079 -0.1839)
OKLCHoklch(32.1% 0.184 272.5)
XYZxyz(5.6664, 2.7287, 25.8140)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E148E #848E14
analogous
#14478E #1E148E #5B148E
triadic
#1E148E #8E1E14 #148E1E
tetradic
#1E148E #8E1447 #848E14 #148E5B
square
#1E148E #8E1447 #848E14 #148E5B
split-complementary
#1E148E #8E5B14 #478E14
monochromatic
#070523 #130C58 #1E148E #291CC4 #4739E3

Accessibility & contrast

On white

13.59
#1E148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E148E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E148E#FFFFFF#000000##FFFFFF
##1E148E1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e148e;
/* rgb */ color: rgb(30, 20, 142);
/* oklch */ color: oklch(32.1% 0.184 272.5);
Tailwind
colors: {
  custom: {
    50: '#7056b0',
    500: '#1e148e',
    950: '#000000',
  },
}
SCSS
$custom: #1e148e;
$custom-light: #7056b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e148e",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 244.918,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.321,
    "c": 0.18405,
    "h": 272.5
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#1E148E
secondary
#B7C23C
accent
#F236E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E148E

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

Preview Lab → · Contrast checker → · Palette generator →

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