#1E2E8D#1E2E8D

#1E2E8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.157 H 269.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1E2E8D
RGBrgb(30, 46, 141)
HSLhsl(231, 65%, 34%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(78.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.17, 29.41, -54.28)
CIE-LCHlch(24.17, 61.74, 298.44°)
OKLaboklab(35.8% -0.0026 -0.1571)
OKLCHoklch(35.8% 0.157 269)
XYZxyz(6.3185, 4.1524, 25.6626)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E8D #8D7D1E
analogous
#1E658D #1E2E8D #451E8D
triadic
#1E2E8D #8D1E2E #2E8D1E
tetradic
#1E2E8D #8D1E65 #8D7D1E #1E8D45
square
#1E2E8D #8D1E65 #8D7D1E #1E8D45
split-complementary
#1E2E8D #8D451E #658D1E
monochromatic
#090D28 #131E5B #1E2E8D #293EBF #4C61D9

Accessibility & contrast

On white

11.47
#1E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E8D
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E8D#FFFFFF#000000##FFFFFF
##1E2E8D1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2e8d;
/* rgb */ color: rgb(30, 46, 141);
/* oklch */ color: oklch(35.8% 0.157 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1e2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e8d;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e8d",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 231.351,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.1571,
    "h": 269
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#1E2E8D
secondary
#BCAB4B
accent
#D040E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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