#1E125F#1E125F

#1E125F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.127 H 280.1°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#1E125F
RGBrgb(30, 18, 95)
HSLhsl(249, 68%, 22%)
HSVhsv(249, 81%, 37%)
CMYKcmyk(68.4%, 81.1%, 0%, 62.7%)
CIE-LABlab(12.83, 30.48, -43.37)
CIE-LCHlch(12.83, 53.01, 305.10°)
OKLaboklab(26.19% 0.0223 -0.1252)
OKLCHoklch(26.19% 0.127 280.1)
XYZxyz(2.8166, 1.5346, 10.9720)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E125F #535F12
analogous
#122C5F #1E125F #45125F
triadic
#1E125F #5F1E12 #125F1E
tetradic
#1E125F #5F122C #535F12 #125F45
square
#1E125F #5F122C #535F12 #125F45
split-complementary
#1E125F #5F4512 #2C5F12
monochromatic
#08051A #0E082C #1E125F #2E1C92 #3E25C6

Accessibility & contrast

On white

16.07
#1E125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E125F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E125F#FFFFFF#000000##FFFFFF
##1E125F1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e125f;
/* rgb */ color: rgb(30, 18, 95);
/* oklch */ color: oklch(26.2% 0.127 280.1);
Tailwind
colors: {
  custom: {
    50: '#64528d',
    500: '#1e125f',
    950: '#000000',
  },
}
SCSS
$custom: #1e125f;
$custom-light: #64528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e125f",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 249.351,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26194,
    "c": 0.12715,
    "h": 280.1
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#1E125F
secondary
#889736
accent
#EB3DD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E125F

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

Preview Lab → · Contrast checker → · Palette generator →

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