#1E148A#1E148A

#1E148A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.179 H 272.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1E148A
RGBrgb(30, 20, 138)
HSLhsl(245, 75%, 31%)
HSVhsv(245, 86%, 54%)
CMYKcmyk(78.3%, 85.5%, 0%, 45.9%)
CIE-LABlab(18.41, 43.55, -61.92)
CIE-LCHlch(18.41, 75.70, 305.12°)
OKLaboklab(31.6% 0.009 -0.1791)
OKLCHoklch(31.6% 0.179 272.9)
XYZxyz(5.3715, 2.6107, 24.2607)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E148A #808A14
analogous
#14458A #1E148A #59148A
triadic
#1E148A #8A1E14 #148A1E
tetradic
#1E148A #8A1445 #808A14 #148A59
square
#1E148A #8A1445 #808A14 #148A59
split-complementary
#1E148A #8A5914 #458A14
monochromatic
#07051F #120C55 #1E148A #2A1CBF #4536E2

Accessibility & contrast

On white

13.80
#1E148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E148A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E148A#FFFFFF#000000##FFFFFF
##1E148A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328D
Deuteranopia (green-blind)
#002788
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e148a;
/* rgb */ color: rgb(30, 20, 138);
/* oklch */ color: oklch(31.6% 0.179 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f56ad',
    500: '#1e148a',
    950: '#000000',
  },
}
SCSS
$custom: #1e148a;
$custom-light: #6f56ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e148a",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 245.085,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.17932,
    "h": 272.9
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#1E148A
secondary
#B3BE3C
accent
#F136E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E148A

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

Preview Lab → · Contrast checker → · Palette generator →

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