#1E187B#1E187B

#1E187B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.158 H 274.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#1E187B
RGBrgb(30, 24, 123)
HSLhsl(244, 67%, 29%)
HSVhsv(244, 80%, 48%)
CMYKcmyk(75.6%, 80.5%, 0%, 51.8%)
CIE-LABlab(17.27, 36.62, -54.32)
CIE-LCHlch(17.27, 65.51, 303.99°)
OKLaboklab(30.27% 0.0116 -0.1571)
OKLCHoklch(30.27% 0.158 274.2)
XYZxyz(4.4360, 2.3589, 18.9566)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E187B #757B18
analogous
#18447B #1E187B #50187B
triadic
#1E187B #7B1E18 #187B1E
tetradic
#1E187B #7B1844 #757B18 #187B50
square
#1E187B #7B1844 #757B18 #187B50
split-complementary
#1E187B #7B5018 #447B18
monochromatic
#06051A #120E48 #1E187B #2A22AE #4036D8

Accessibility & contrast

On white

14.27
#1E187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E187B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E187B#FFFFFF#000000##FFFFFF
##1E187B1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e187b;
/* rgb */ color: rgb(30, 24, 123);
/* oklch */ color: oklch(30.3% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#6b57a2',
    500: '#1e187b',
    950: '#000000',
  },
}
SCSS
$custom: #1e187b;
$custom-light: #6b57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e187b",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 243.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.15755,
    "h": 274.2
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#1E187B
secondary
#A9B03F
accent
#EA3EE0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E187B

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

Preview Lab → · Contrast checker → · Palette generator →

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