#1E2D8B#1E2D8B

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

Color values

HEX#1E2D8B
RGBrgb(30, 45, 139)
HSLhsl(232, 64%, 33%)
HSVhsv(232, 78%, 55%)
CMYKcmyk(78.4%, 67.6%, 0%, 45.5%)
CIE-LABlab(23.72, 29.31, -53.77)
CIE-LCHlch(23.72, 61.24, 298.60°)
OKLaboklab(35.42% -0.0019 -0.1556)
OKLCHoklch(35.42% 0.156 269.3)
XYZxyz(6.1324, 4.0162, 24.8731)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D8B #8B7C1E
analogous
#1E638B #1E2D8B #451E8B
triadic
#1E2D8B #8B1E2D #2D8B1E
tetradic
#1E2D8B #8B1E63 #8B7C1E #1E8B45
square
#1E2D8B #8B1E63 #8B7C1E #1E8B45
split-complementary
#1E2D8B #8B451E #638B1E
monochromatic
#080C26 #131D59 #1E2D8B #293DBD #4B5FD8

Accessibility & contrast

On white

11.64
#1E2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D8B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D8B#FFFFFF#000000##FFFFFF
##1E2D8B1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2d8b;
/* rgb */ color: rgb(30, 45, 139);
/* oklch */ color: oklch(35.4% 0.156 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d66ae',
    500: '#1e2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d8b;
$custom-light: #6d66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d8b",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 231.743,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35415,
    "c": 0.15559,
    "h": 269.3
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#1E2D8B
secondary
#BBAB4A
accent
#D040E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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