#1E129F#1E129F

#1E129F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.1% C 0.205 H 271.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1E129F
RGBrgb(30, 18, 159)
HSLhsl(245, 80%, 35%)
HSVhsv(245, 89%, 62%)
CMYKcmyk(81.1%, 88.7%, 0%, 37.6%)
CIE-LABlab(20.87, 50.74, -70.83)
CIE-LCHlch(20.87, 87.13, 305.61°)
OKLaboklab(34.06% 0.0037 -0.2048)
OKLCHoklch(34.06% 0.205 271)
XYZxyz(7.0076, 3.2110, 33.0446)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E129F #939F12
analogous
#124D9F #1E129F #64129F
triadic
#1E129F #9F1E12 #129F1E
tetradic
#1E129F #9F124D #939F12 #129F64
square
#1E129F #9F124D #939F12 #129F64
split-complementary
#1E129F #9F6412 #4D9F12
monochromatic
#090631 #140C68 #1E129F #2818D6 #5042EA

Accessibility & contrast

On white

12.79
#1E129F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E129F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E129F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E129F#FFFFFF#000000##FFFFFF
##1E129F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e129f;
/* rgb */ color: rgb(30, 18, 159);
/* oklch */ color: oklch(34.1% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7557bd',
    500: '#1e129f',
    950: '#000000',
  },
}
SCSS
$custom: #1e129f;
$custom-light: #7557bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e129f",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 159
  },
  "hsl": {
    "h": 245.106,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.20487,
    "h": 271
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#1E129F
secondary
#BECA43
accent
#F632E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1E129F

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

Preview Lab → · Contrast checker → · Palette generator →

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