#1E2B8F#1E2B8F

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

Color values

HEX#1E2B8F
RGBrgb(30, 43, 143)
HSLhsl(233, 65%, 34%)
HSVhsv(233, 79%, 56%)
CMYKcmyk(79%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.63, 32.14, -56.42)
CIE-LCHlch(23.63, 64.93, 299.67°)
OKLaboklab(35.46% -0.0011 -0.1633)
OKLCHoklch(35.46% 0.163 269.6)
XYZxyz(6.3555, 3.9862, 26.4157)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B8F #8F821E
analogous
#1E648F #1E2B8F #4A1E8F
triadic
#1E2B8F #8F1E2B #2B8F1E
tetradic
#1E2B8F #8F1E64 #8F821E #1E8F4A
square
#1E2B8F #8F1E64 #8F821E #1E8F4A
split-complementary
#1E2B8F #8F4A1E #648F1E
monochromatic
#090D2A #131C5C #1E2B8F #293AC2 #4E5EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E2B8F#FFFFFF#000000##FFFFFF
##1E2B8F1.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)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2b8f;
/* rgb */ color: rgb(30, 43, 143);
/* oklch */ color: oklch(35.5% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e64b1',
    500: '#1e2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b8f;
$custom-light: #6e64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b8f",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 233.097,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.16333,
    "h": 269.6
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#1E2B8F
secondary
#BCB04C
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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