#1E2C8E#1E2C8E

#1E2C8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.161 H 269.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2C8E
RGBrgb(30, 44, 142)
HSLhsl(233, 65%, 34%)
HSVhsv(233, 79%, 56%)
CMYKcmyk(78.9%, 69%, 0%, 44.3%)
CIE-LABlab(23.77, 31.11, -55.56)
CIE-LCHlch(23.77, 63.68, 299.25°)
OKLaboklab(35.54% -0.0016 -0.1608)
OKLCHoklch(35.54% 0.161 269.4)
XYZxyz(6.3169, 4.0297, 26.0308)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C8E #8E801E
analogous
#1E648E #1E2C8E #481E8E
triadic
#1E2C8E #8E1E2C #2C8E1E
tetradic
#1E2C8E #8E1E64 #8E801E #1E8E48
square
#1E2C8E #8E1E64 #8E801E #1E8E48
split-complementary
#1E2C8E #8E481E #648E1E
monochromatic
#090D29 #131C5B #1E2C8E #293CC1 #4D5FD9

Accessibility & contrast

On white

11.63
#1E2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C8E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C8E#FFFFFF#000000##FFFFFF
##1E2C8E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2c8e;
/* rgb */ color: rgb(30, 44, 142);
/* oklch */ color: oklch(35.5% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e65b0',
    500: '#1e2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c8e;
$custom-light: #6e65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c8e",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 232.5,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35536,
    "c": 0.16084,
    "h": 269.4
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#1E2C8E
secondary
#BCAE4C
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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