#1E126D#1E126D

#1E126D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.145 H 277.2°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#1E126D
RGBrgb(30, 18, 109)
HSLhsl(248, 72%, 25%)
HSVhsv(248, 83%, 43%)
CMYKcmyk(72.5%, 83.5%, 0%, 57.3%)
CIE-LABlab(14.47, 35.18, -49.90)
CIE-LCHlch(14.47, 61.06, 305.19°)
OKLaboklab(27.83% 0.0182 -0.1442)
OKLCHoklch(27.83% 0.145 277.2)
XYZxyz(3.5111, 1.8124, 14.6298)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E126D #616D12
analogous
#12346D #1E126D #4C126D
triadic
#1E126D #6D1E12 #126D1E
tetradic
#1E126D #6D1234 #616D12 #126D4C
square
#1E126D #6D1234 #616D12 #126D4C
split-complementary
#1E126D #6D4C12 #346D12
monochromatic
#07041A #100938 #1E126D #2C1BA2 #3B23D6

Accessibility & contrast

On white

15.41
#1E126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E126D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E126D
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E126D#FFFFFF#000000##FFFFFF
##1E126D1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e126d;
/* rgb */ color: rgb(30, 18, 109);
/* oklch */ color: oklch(27.8% 0.145 277.2);
Tailwind
colors: {
  custom: {
    50: '#685398',
    500: '#1e126d',
    950: '#000000',
  },
}
SCSS
$custom: #1e126d;
$custom-light: #685398;
$custom-dark: #000000;
JSON
{
  "hex": "#1e126d",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 247.912,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.14534,
    "h": 277.2
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#1E126D
secondary
#96A437
accent
#EE39D7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E126D

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

Preview Lab → · Contrast checker → · Palette generator →

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