#1E18A0#1E18A0

#1E18A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.202 H 270.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1E18A0
RGBrgb(30, 24, 160)
HSLhsl(243, 74%, 36%)
HSVhsv(243, 85%, 63%)
CMYKcmyk(81.3%, 85%, 0%, 37.3%)
CIE-LABlab(21.82, 48.58, -69.86)
CIE-LCHlch(21.82, 85.09, 304.81°)
OKLaboklab(34.75% 0.0025 -0.2021)
OKLCHoklch(34.75% 0.202 270.7)
XYZxyz(7.2051, 3.4665, 33.5403)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E18A0 #9AA018
analogous
#1856A0 #1E18A0 #6218A0
triadic
#1E18A0 #A01E18 #18A01E
tetradic
#1E18A0 #A01856 #9AA018 #18A062
square
#1E18A0 #A01856 #9AA018 #18A062
split-complementary
#1E18A0 #A06218 #56A018
monochromatic
#0A0836 #14106B #1E18A0 #2820D5 #554EE4

Accessibility & contrast

On white

12.40
#1E18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E18A0
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E18A0#FFFFFF#000000##FFFFFF
##1E18A01.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e18a0;
/* rgb */ color: rgb(30, 24, 160);
/* oklch */ color: oklch(34.8% 0.202 270.7);
Tailwind
colors: {
  custom: {
    50: '#745abe',
    500: '#1e18a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e18a0;
$custom-light: #745abe;
$custom-dark: #000000;
JSON
{
  "hex": "#1e18a0",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 242.647,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.20216,
    "h": 270.7
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#1E18A0
secondary
#C1C64D
accent
#F137E8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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