#1E126F#1E126F

#1E126F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.148 H 276.8°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#1E126F
RGBrgb(30, 18, 111)
HSLhsl(248, 72%, 25%)
HSVhsv(248, 84%, 44%)
CMYKcmyk(73%, 83.8%, 0%, 56.5%)
CIE-LABlab(14.71, 35.84, -50.81)
CIE-LCHlch(14.71, 62.18, 305.20°)
OKLaboklab(28.07% 0.0176 -0.1468)
OKLCHoklch(28.07% 0.148 276.8)
XYZxyz(3.6200, 1.8560, 15.2033)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E126F #636F12
analogous
#12346F #1E126F #4C126F
triadic
#1E126F #6F1E12 #126F1E
tetradic
#1E126F #6F1234 #636F12 #126F4C
square
#1E126F #6F1234 #636F12 #126F4C
split-complementary
#1E126F #6F4C12 #346F12
monochromatic
#07041A #10093A #1E126F #2C1BA4 #3A23D8

Accessibility & contrast

On white

15.32
#1E126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E126F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E126F#FFFFFF#000000##FFFFFF
##1E126F1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e126f;
/* rgb */ color: rgb(30, 18, 111);
/* oklch */ color: oklch(28.1% 0.148 276.8);
Tailwind
colors: {
  custom: {
    50: '#685399',
    500: '#1e126f',
    950: '#000000',
  },
}
SCSS
$custom: #1e126f;
$custom-light: #685399;
$custom-dark: #000000;
JSON
{
  "hex": "#1e126f",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 247.742,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28069,
    "c": 0.14788,
    "h": 276.8
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#1E126F
secondary
#98A637
accent
#EF39D7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E126F

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

Preview Lab → · Contrast checker → · Palette generator →

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