#1E2D8A#1E2D8A

#1E2D8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.154 H 269.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1E2D8A
RGBrgb(30, 45, 138)
HSLhsl(232, 64%, 33%)
HSVhsv(232, 78%, 54%)
CMYKcmyk(78.3%, 67.4%, 0%, 45.9%)
CIE-LABlab(23.63, 28.93, -53.30)
CIE-LCHlch(23.63, 60.65, 298.49°)
OKLaboklab(35.32% -0.0019 -0.1542)
OKLCHoklch(35.32% 0.154 269.3)
XYZxyz(6.0597, 3.9871, 24.4901)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D8A #8A7B1E
analogous
#1E638A #1E2D8A #451E8A
triadic
#1E2D8A #8A1E2D #2D8A1E
tetradic
#1E2D8A #8A1E63 #8A7B1E #1E8A45
square
#1E2D8A #8A1E63 #8A7B1E #1E8A45
split-complementary
#1E2D8A #8A451E #638A1E
monochromatic
#080C25 #131D58 #1E2D8A #293DBC #4B5ED8

Accessibility & contrast

On white

11.68
#1E2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D8A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D8A#FFFFFF#000000##FFFFFF
##1E2D8A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2d8a;
/* rgb */ color: rgb(30, 45, 138);
/* oklch */ color: oklch(35.3% 0.154 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d66ad',
    500: '#1e2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d8a;
$custom-light: #6d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d8a",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 231.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.15423,
    "h": 269.3
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#1E2D8A
secondary
#BAAB4A
accent
#D041E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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