#1E2B9B#1E2B9B

#1E2B9B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.179 H 269.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1E2B9B
RGBrgb(30, 43, 155)
HSLhsl(234, 68%, 36%)
HSVhsv(234, 81%, 61%)
CMYKcmyk(80.6%, 72.3%, 0%, 39.2%)
CIE-LABlab(24.86, 36.56, -61.78)
CIE-LCHlch(24.86, 71.79, 300.62°)
OKLaboklab(36.72% -0.0024 -0.179)
OKLCHoklch(36.72% 0.179 269.2)
XYZxyz(7.3137, 4.3695, 31.4619)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B9B #9B8E1E
analogous
#1E6A9B #1E2B9B #501E9B
triadic
#1E2B9B #9B1E2B #2B9B1E
tetradic
#1E2B9B #9B1E6A #9B8E1E #1E9B50
square
#1E2B9B #9B1E6A #9B8E1E #1E9B50
split-complementary
#1E2B9B #9B501E #6A9B1E
monochromatic
#0A0F34 #141D68 #1E2B9B #2839CE #5563DE

Accessibility & contrast

On white

11.21
#1E2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E2B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B9B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B9B#FFFFFF#000000##FFFFFF
##1E2B9B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2b9b;
/* rgb */ color: rgb(30, 43, 155);
/* oklch */ color: oklch(36.7% 0.179 269.2);
Tailwind
colors: {
  custom: {
    50: '#7165ba',
    500: '#1e2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b9b;
$custom-light: #7165ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b9b",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 233.76,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36722,
    "c": 0.17898,
    "h": 269.2
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#1E2B9B
secondary
#C2B653
accent
#D83DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1E2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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