#1E126A#1E126A

#1E126A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.142 H 277.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#1E126A
RGBrgb(30, 18, 106)
HSLhsl(248, 71%, 24%)
HSVhsv(248, 83%, 42%)
CMYKcmyk(71.7%, 83%, 0%, 58.4%)
CIE-LABlab(14.11, 34.19, -48.53)
CIE-LCHlch(14.11, 59.37, 305.16°)
OKLaboklab(27.47% 0.0191 -0.1402)
OKLCHoklch(27.47% 0.142 277.8)
XYZxyz(3.3524, 1.7489, 13.7938)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E126A #5E6A12
analogous
#12326A #1E126A #4A126A
triadic
#1E126A #6A1E12 #126A1E
tetradic
#1E126A #6A1232 #5E6A12 #126A4A
square
#1E126A #6A1232 #5E6A12 #126A4A
split-complementary
#1E126A #6A4A12 #326A12
monochromatic
#07041A #0F0936 #1E126A #2D1B9E #3C24D3

Accessibility & contrast

On white

15.56
#1E126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1E126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E126A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E126A#FFFFFF#000000##FFFFFF
##1E126A1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e126a;
/* rgb */ color: rgb(30, 18, 106);
/* oklch */ color: oklch(27.5% 0.142 277.8);
Tailwind
colors: {
  custom: {
    50: '#675296',
    500: '#1e126a',
    950: '#000000',
  },
}
SCSS
$custom: #1e126a;
$custom-light: #675296;
$custom-dark: #000000;
JSON
{
  "hex": "#1e126a",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 248.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27473,
    "c": 0.14151,
    "h": 277.8
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#1E126A
secondary
#93A236
accent
#EE3AD5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E126A

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

Preview Lab → · Contrast checker → · Palette generator →

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