#1E2B7A#1E2B7A

#1E2B7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.134 H 270.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1E2B7A
RGBrgb(30, 43, 122)
HSLhsl(232, 61%, 30%)
HSVhsv(232, 75%, 48%)
CMYKcmyk(75.4%, 64.8%, 0%, 52.2%)
CIE-LABlab(21.61, 24.11, -46.54)
CIE-LCHlch(21.61, 52.41, 297.39°)
OKLaboklab(33.37% 0.0003 -0.1344)
OKLCHoklch(33.37% 0.134 270.1)
XYZxyz(4.9109, 3.4084, 18.8077)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B7A #7A6D1E
analogous
#1E597A #1E2B7A #3F1E7A
triadic
#1E2B7A #7A1E2B #2B7A1E
tetradic
#1E2B7A #7A1E59 #7A6D1E #1E7A3F
square
#1E2B7A #7A1E59 #7A6D1E #1E7A3F
split-complementary
#1E2B7A #7A3F1E #597A1E
monochromatic
#060919 #121A49 #1E2B7A #2A3CAB #4256D0

Accessibility & contrast

On white

12.49
#1E2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B7A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B7A#FFFFFF#000000##FFFFFF
##1E2B7A1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2b7a;
/* rgb */ color: rgb(30, 43, 122);
/* oklch */ color: oklch(33.4% 0.134 270.1);
Tailwind
colors: {
  custom: {
    50: '#6964a1',
    500: '#1e2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b7a;
$custom-light: #6964a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b7a",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 231.522,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33372,
    "c": 0.13443,
    "h": 270.1
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#1E2B7A
secondary
#AE9F46
accent
#CD44E4
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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