#1E125E#1E125E

#1E125E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.126 H 280.3°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#1E125E
RGBrgb(30, 18, 94)
HSLhsl(249, 68%, 22%)
HSVhsv(249, 81%, 37%)
CMYKcmyk(68.1%, 80.9%, 0%, 63.1%)
CIE-LABlab(12.71, 30.13, -42.89)
CIE-LCHlch(12.71, 52.41, 305.09°)
OKLaboklab(26.08% 0.0226 -0.1238)
OKLCHoklch(26.08% 0.126 280.3)
XYZxyz(2.7715, 1.5166, 10.7342)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E125E #525E12
analogous
#122C5E #1E125E #44125E
triadic
#1E125E #5E1E12 #125E1E
tetradic
#1E125E #5E122C #525E12 #125E44
square
#1E125E #5E122C #525E12 #125E44
split-complementary
#1E125E #5E4412 #2C5E12
monochromatic
#08051A #0E082B #1E125E #2E1C91 #3F26C5

Accessibility & contrast

On white

16.11
#1E125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E125E
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E125E#FFFFFF#000000##FFFFFF
##1E125E1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e125e;
/* rgb */ color: rgb(30, 18, 94);
/* oklch */ color: oklch(26.1% 0.126 280.3);
Tailwind
colors: {
  custom: {
    50: '#64528d',
    500: '#1e125e',
    950: '#000000',
  },
}
SCSS
$custom: #1e125e;
$custom-light: #64528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e125e",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 249.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2608,
    "c": 0.12581,
    "h": 280.3
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#1E125E
secondary
#879635
accent
#EB3DCF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E125E

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

Preview Lab → · Contrast checker → · Palette generator →

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