#1E2C8D#1E2C8D

#1E2C8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.160 H 269.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1E2C8D
RGBrgb(30, 44, 141)
HSLhsl(232, 65%, 34%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(78.7%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.67, 30.73, -55.10)
CIE-LCHlch(23.67, 63.09, 299.15°)
OKLaboklab(35.43% -0.0015 -0.1595)
OKLCHoklch(35.43% 0.16 269.5)
XYZxyz(6.2422, 3.9998, 25.6372)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C8D #8D7F1E
analogous
#1E638D #1E2C8D #471E8D
triadic
#1E2C8D #8D1E2C #2C8D1E
tetradic
#1E2C8D #8D1E63 #8D7F1E #1E8D47
square
#1E2C8D #8D1E63 #8D7F1E #1E8D47
split-complementary
#1E2C8D #8D471E #638D1E
monochromatic
#090D28 #131C5B #1E2C8D #293CBF #4C5ED9

Accessibility & contrast

On white

11.67
#1E2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C8D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C8D#FFFFFF#000000##FFFFFF
##1E2C8D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2c8d;
/* rgb */ color: rgb(30, 44, 141);
/* oklch */ color: oklch(35.4% 0.160 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d65af',
    500: '#1e2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c8d;
$custom-light: #6d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c8d",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 232.432,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.1595,
    "h": 269.5
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#1E2C8D
secondary
#BCAD4B
accent
#D340E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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