#1E2B7D#1E2B7D

#1E2B7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.139 H 270.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1E2B7D
RGBrgb(30, 43, 125)
HSLhsl(232, 61%, 30%)
HSVhsv(232, 76%, 49%)
CMYKcmyk(76%, 65.6%, 0%, 51%)
CIE-LABlab(21.89, 25.28, -47.99)
CIE-LCHlch(21.89, 54.24, 297.78°)
OKLaboklab(33.66% 0.0002 -0.1387)
OKLCHoklch(33.66% 0.139 270.1)
XYZxyz(5.0997, 3.4839, 19.8018)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B7D #7D701E
analogous
#1E5B7D #1E2B7D #401E7D
triadic
#1E2B7D #7D1E2B #2B7D1E
tetradic
#1E2B7D #7D1E5B #7D701E #1E7D40
square
#1E2B7D #7D1E5B #7D701E #1E7D40
split-complementary
#1E2B7D #7D401E #5B7D1E
monochromatic
#06091A #121A4C #1E2B7D #2A3CAE #4357D2

Accessibility & contrast

On white

12.38
#1E2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B7D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B7D#FFFFFF#000000##FFFFFF
##1E2B7D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2b7d;
/* rgb */ color: rgb(30, 43, 125);
/* oklch */ color: oklch(33.7% 0.139 270.1);
Tailwind
colors: {
  custom: {
    50: '#6964a3',
    500: '#1e2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b7d;
$custom-light: #6964a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b7d",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 231.789,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.13869,
    "h": 270.1
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#1E2B7D
secondary
#B0A246
accent
#CE43E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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