#1E2B7E#1E2B7E

#1E2B7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.140 H 270.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1E2B7E
RGBrgb(30, 43, 126)
HSLhsl(232, 62%, 31%)
HSVhsv(232, 76%, 49%)
CMYKcmyk(76.2%, 65.9%, 0%, 50.6%)
CIE-LABlab(21.98, 25.67, -48.47)
CIE-LCHlch(21.98, 54.85, 297.90°)
OKLaboklab(33.76% 0.0001 -0.1401)
OKLCHoklch(33.76% 0.14 270)
XYZxyz(5.1639, 3.5096, 20.1399)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B7E #7E711E
analogous
#1E5B7E #1E2B7E #411E7E
triadic
#1E2B7E #7E1E2B #2B7E1E
tetradic
#1E2B7E #7E1E5B #7E711E #1E7E41
square
#1E2B7E #7E1E5B #7E711E #1E7E41
split-complementary
#1E2B7E #7E411E #5B7E1E
monochromatic
#06091B #121A4D #1E2B7E #2A3CAF #4457D2

Accessibility & contrast

On white

12.34
#1E2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2B7E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B7E#FFFFFF#000000##FFFFFF
##1E2B7E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2b7e;
/* rgb */ color: rgb(30, 43, 126);
/* oklch */ color: oklch(33.8% 0.140 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a4',
    500: '#1e2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b7e;
$custom-light: #6a64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b7e",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 231.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33757,
    "c": 0.1401,
    "h": 270
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#1E2B7E
secondary
#B1A347
accent
#CF43E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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