#1E148C#1E148C

#1E148C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.182 H 272.7°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1E148C
RGBrgb(30, 20, 140)
HSLhsl(245, 75%, 31%)
HSVhsv(245, 86%, 55%)
CMYKcmyk(78.6%, 85.7%, 0%, 45.1%)
CIE-LABlab(18.67, 44.17, -62.75)
CIE-LCHlch(18.67, 76.74, 305.15°)
OKLaboklab(31.85% 0.0085 -0.1815)
OKLCHoklch(31.85% 0.182 272.7)
XYZxyz(5.5176, 2.6692, 25.0303)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E148C #828C14
analogous
#14468C #1E148C #5A148C
triadic
#1E148C #8C1E14 #148C1E
tetradic
#1E148C #8C1446 #828C14 #148C5A
square
#1E148C #8C1446 #828C14 #148C5A
split-complementary
#1E148C #8C5A14 #468C14
monochromatic
#070521 #130C56 #1E148C #291CC2 #4638E3

Accessibility & contrast

On white

13.69
#1E148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E148C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E148C#FFFFFF#000000##FFFFFF
##1E148C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e148c;
/* rgb */ color: rgb(30, 20, 140);
/* oklch */ color: oklch(31.9% 0.182 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f56af',
    500: '#1e148c',
    950: '#000000',
  },
}
SCSS
$custom: #1e148c;
$custom-light: #6f56af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e148c",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 245,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.18169,
    "h": 272.7
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#1E148C
secondary
#B5C03C
accent
#F236E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E148C

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

Preview Lab → · Contrast checker → · Palette generator →

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