#1E125B#1E125B

#1E125B is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.122 H 281.1°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#1E125B
RGBrgb(30, 18, 91)
HSLhsl(250, 67%, 21%)
HSVhsv(250, 80%, 36%)
CMYKcmyk(67%, 80.2%, 0%, 64.3%)
CIE-LABlab(12.38, 29.10, -41.43)
CIE-LCHlch(12.38, 50.63, 305.09°)
OKLaboklab(25.74% 0.0234 -0.1195)
OKLCHoklch(25.74% 0.122 281.1)
XYZxyz(2.6395, 1.4638, 10.0389)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E125B #4F5B12
analogous
#122B5B #1E125B #43125B
triadic
#1E125B #5B1E12 #125B1E
tetradic
#1E125B #5B122B #4F5B12 #125B43
square
#1E125B #5B122B #4F5B12 #125B43
split-complementary
#1E125B #5B4312 #2B5B12
monochromatic
#08051A #0D0828 #1E125B #2F1C8E #4026C1

Accessibility & contrast

On white

16.24
#1E125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E125B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E125B#FFFFFF#000000##FFFFFF
##1E125B1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e125b;
/* rgb */ color: rgb(30, 18, 91);
/* oklch */ color: oklch(25.7% 0.122 281.1);
Tailwind
colors: {
  custom: {
    50: '#63518a',
    500: '#1e125b',
    950: '#000000',
  },
}
SCSS
$custom: #1e125b;
$custom-light: #63518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e125b",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 249.863,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25741,
    "c": 0.12178,
    "h": 281.1
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#1E125B
secondary
#849335
accent
#EA3ECE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E125B

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

Preview Lab → · Contrast checker → · Palette generator →

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