#1E148B#1E148B

#1E148B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.180 H 272.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1E148B
RGBrgb(30, 20, 139)
HSLhsl(245, 75%, 31%)
HSVhsv(245, 86%, 55%)
CMYKcmyk(78.4%, 85.6%, 0%, 45.5%)
CIE-LABlab(18.54, 43.86, -62.33)
CIE-LCHlch(18.54, 76.22, 305.13°)
OKLaboklab(31.73% 0.0088 -0.1803)
OKLCHoklch(31.73% 0.181 272.8)
XYZxyz(5.4442, 2.6398, 24.6437)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E148B #818B14
analogous
#14458B #1E148B #59148B
triadic
#1E148B #8B1E14 #148B1E
tetradic
#1E148B #8B1445 #818B14 #148B59
square
#1E148B #8B1445 #818B14 #148B59
split-complementary
#1E148B #8B5914 #458B14
monochromatic
#070520 #120C55 #1E148B #2A1CC1 #4637E2

Accessibility & contrast

On white

13.74
#1E148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E148B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E148B#FFFFFF#000000##FFFFFF
##1E148B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e148b;
/* rgb */ color: rgb(30, 20, 139);
/* oklch */ color: oklch(31.7% 0.180 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f56ae',
    500: '#1e148b',
    950: '#000000',
  },
}
SCSS
$custom: #1e148b;
$custom-light: #6f56ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e148b",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 245.042,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31727,
    "c": 0.1805,
    "h": 272.8
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#1E148B
secondary
#B4BF3C
accent
#F136E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E148B

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

Preview Lab → · Contrast checker → · Palette generator →

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