#1E127E#1E127E

#1E127E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 274.5°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1E127E
RGBrgb(30, 18, 126)
HSLhsl(247, 75%, 28%)
HSVhsv(247, 86%, 49%)
CMYKcmyk(76.2%, 85.7%, 0%, 50.6%)
CIE-LABlab(16.57, 40.69, -57.38)
CIE-LCHlch(16.57, 70.35, 305.34°)
OKLaboklab(29.9% 0.0131 -0.1659)
OKLCHoklch(29.9% 0.166 274.5)
XYZxyz(4.5164, 2.2145, 19.9240)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E127E #727E12
analogous
#123C7E #1E127E #54127E
triadic
#1E127E #7E1E12 #127E1E
tetradic
#1E127E #7E123C #727E12 #127E54
square
#1E127E #7E123C #727E12 #127E54
split-complementary
#1E127E #7E5412 #3C7E12
monochromatic
#06041B #110A48 #1E127E #2B1AB4 #3E2AE1

Accessibility & contrast

On white

14.55
#1E127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E127E
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E127E#FFFFFF#000000##FFFFFF
##1E127E1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e127e;
/* rgb */ color: rgb(30, 18, 126);
/* oklch */ color: oklch(29.9% 0.166 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c54a5',
    500: '#1e127e',
    950: '#000000',
  },
}
SCSS
$custom: #1e127e;
$custom-light: #6c54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e127e",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 246.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29899,
    "c": 0.16643,
    "h": 274.5
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#1E127E
secondary
#A6B438
accent
#F236DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E127E

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

Preview Lab → · Contrast checker → · Palette generator →

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