#1E127D#1E127D

#1E127D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.165 H 274.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1E127D
RGBrgb(30, 18, 125)
HSLhsl(247, 75%, 28%)
HSVhsv(247, 86%, 49%)
CMYKcmyk(76%, 85.6%, 0%, 51%)
CIE-LABlab(16.45, 40.37, -56.95)
CIE-LCHlch(16.45, 69.81, 305.33°)
OKLaboklab(29.78% 0.0134 -0.1647)
OKLCHoklch(29.78% 0.165 274.6)
XYZxyz(4.4522, 2.1889, 19.5859)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E127D #717D12
analogous
#123B7D #1E127D #53127D
triadic
#1E127D #7D1E12 #127D1E
tetradic
#1E127D #7D123B #717D12 #127D53
square
#1E127D #7D123B #717D12 #127D53
split-complementary
#1E127D #7D5312 #3B7D12
monochromatic
#06041B #110A48 #1E127D #2B1AB2 #3E29E0

Accessibility & contrast

On white

14.61
#1E127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E127D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E127D#FFFFFF#000000##FFFFFF
##1E127D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e127d;
/* rgb */ color: rgb(30, 18, 125);
/* oklch */ color: oklch(29.8% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c54a4',
    500: '#1e127d',
    950: '#000000',
  },
}
SCSS
$custom: #1e127d;
$custom-light: #6c54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e127d",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 246.729,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29775,
    "c": 0.16521,
    "h": 274.6
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#1E127D
secondary
#A5B338
accent
#F136DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E127D

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

Preview Lab → · Contrast checker → · Palette generator →

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