#1E2B8B#1E2B8B

#1E2B8B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.158 H 269.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1E2B8B
RGBrgb(30, 43, 139)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 55%)
CMYKcmyk(78.4%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.23, 30.64, -54.59)
CIE-LCHlch(23.23, 62.60, 299.31°)
OKLaboklab(35.05% -0.0008 -0.158)
OKLCHoklch(35.05% 0.158 269.7)
XYZxyz(6.0579, 3.8672, 24.8483)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B8B #8B7E1E
analogous
#1E618B #1E2B8B #471E8B
triadic
#1E2B8B #8B1E2B #2B8B1E
tetradic
#1E2B8B #8B1E61 #8B7E1E #1E8B47
square
#1E2B8B #8B1E61 #8B7E1E #1E8B47
split-complementary
#1E2B8B #8B471E #618B1E
monochromatic
#080C26 #131B59 #1E2B8B #293BBD #4B5CD8

Accessibility & contrast

On white

11.84
#1E2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B8B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B8B#FFFFFF#000000##FFFFFF
##1E2B8B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2b8b;
/* rgb */ color: rgb(30, 43, 139);
/* oklch */ color: oklch(35.1% 0.158 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d64ae',
    500: '#1e2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b8b;
$custom-light: #6d64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b8b",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 232.844,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35052,
    "c": 0.15798,
    "h": 269.7
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#1E2B8B
secondary
#BBAD4A
accent
#D440E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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