#1E2B8A#1E2B8A

#1E2B8A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.157 H 269.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1E2B8A
RGBrgb(30, 43, 138)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 54%)
CMYKcmyk(78.3%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.13, 30.26, -54.13)
CIE-LCHlch(23.13, 62.01, 299.21°)
OKLaboklab(34.95% -0.0007 -0.1566)
OKLCHoklch(34.95% 0.157 269.8)
XYZxyz(5.9852, 3.8381, 24.4652)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B8A #8A7D1E
analogous
#1E618A #1E2B8A #471E8A
triadic
#1E2B8A #8A1E2B #2B8A1E
tetradic
#1E2B8A #8A1E61 #8A7D1E #1E8A47
square
#1E2B8A #8A1E61 #8A7D1E #1E8A47
split-complementary
#1E2B8A #8A471E #618A1E
monochromatic
#080C25 #131B58 #1E2B8A #293BBC #4B5CD8

Accessibility & contrast

On white

11.88
#1E2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2B8A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B8A#FFFFFF#000000##FFFFFF
##1E2B8A1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2b8a;
/* rgb */ color: rgb(30, 43, 138);
/* oklch */ color: oklch(34.9% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d64ad',
    500: '#1e2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b8a;
$custom-light: #6d64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b8a",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 232.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.15664,
    "h": 269.8
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#1E2B8A
secondary
#BAAD4A
accent
#D341E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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