#1E125D#1E125D

#1E125D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.124 H 280.6°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#1E125D
RGBrgb(30, 18, 93)
HSLhsl(250, 68%, 22%)
HSVhsv(250, 81%, 36%)
CMYKcmyk(67.7%, 80.6%, 0%, 63.5%)
CIE-LABlab(12.60, 29.79, -42.40)
CIE-LCHlch(12.60, 51.82, 305.09°)
OKLaboklab(25.97% 0.0228 -0.1224)
OKLCHoklch(25.97% 0.124 280.6)
XYZxyz(2.7269, 1.4987, 10.4994)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E125D #515D12
analogous
#122C5D #1E125D #44125D
triadic
#1E125D #5D1E12 #125D1E
tetradic
#1E125D #5D122C #515D12 #125D44
square
#1E125D #5D122C #515D12 #125D44
split-complementary
#1E125D #5D4412 #2C5D12
monochromatic
#08051A #0D082A #1E125D #2F1C90 #3F26C4

Accessibility & contrast

On white

16.16
#1E125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1E125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E125D
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E125D#FFFFFF#000000##FFFFFF
##1E125D1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e125d;
/* rgb */ color: rgb(30, 18, 93);
/* oklch */ color: oklch(26.0% 0.124 280.6);
Tailwind
colors: {
  custom: {
    50: '#64528c',
    500: '#1e125d',
    950: '#000000',
  },
}
SCSS
$custom: #1e125d;
$custom-light: #64528c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e125d",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 249.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25967,
    "c": 0.12447,
    "h": 280.6
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#1E125D
secondary
#869535
accent
#EA3DCF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E125D

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

Preview Lab → · Contrast checker → · Palette generator →

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