#1E127A#1E127A

#1E127A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.162 H 275.1°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1E127A
RGBrgb(30, 18, 122)
HSLhsl(247, 74%, 27%)
HSVhsv(247, 85%, 48%)
CMYKcmyk(75.4%, 85.2%, 0%, 52.2%)
CIE-LABlab(16.07, 39.42, -55.66)
CIE-LCHlch(16.07, 68.20, 305.30°)
OKLaboklab(29.41% 0.0143 -0.1609)
OKLCHoklch(29.41% 0.162 275.1)
XYZxyz(4.2634, 2.1134, 18.5918)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E127A #6E7A12
analogous
#123A7A #1E127A #52127A
triadic
#1E127A #7A1E12 #127A1E
tetradic
#1E127A #7A123A #6E7A12 #127A52
square
#1E127A #7A123A #6E7A12 #127A52
split-complementary
#1E127A #7A5212 #3A7A12
monochromatic
#07041B #110A45 #1E127A #2B1AAF #3C27DF

Accessibility & contrast

On white

14.76
#1E127A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E127A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E127A
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E127A#FFFFFF#000000##FFFFFF
##1E127A1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e127a;
/* rgb */ color: rgb(30, 18, 122);
/* oklch */ color: oklch(29.4% 0.162 275.1);
Tailwind
colors: {
  custom: {
    50: '#6b54a2',
    500: '#1e127a',
    950: '#000000',
  },
}
SCSS
$custom: #1e127a;
$custom-light: #6b54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e127a",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 122
  },
  "hsl": {
    "h": 246.923,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.16155,
    "h": 275.1
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#1E127A
secondary
#A2B038
accent
#F137DB
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E127A

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

Preview Lab → · Contrast checker → · Palette generator →

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