#1E2B76#1E2B76

#1E2B76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.129 H 270.2°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2B76
RGBrgb(30, 43, 118)
HSLhsl(231, 59%, 29%)
HSVhsv(231, 75%, 46%)
CMYKcmyk(74.6%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.25, 22.55, -44.58)
CIE-LCHlch(21.25, 49.95, 296.83°)
OKLaboklab(32.99% 0.0004 -0.1287)
OKLCHoklch(32.99% 0.129 270.2)
XYZxyz(4.6682, 3.3113, 17.5292)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B76 #76691E
analogous
#1E5776 #1E2B76 #3D1E76
triadic
#1E2B76 #761E2B #2B761E
tetradic
#1E2B76 #761E57 #76691E #1E763D
square
#1E2B76 #761E57 #76691E #1E763D
split-complementary
#1E2B76 #763D1E #57761E
monochromatic
#060918 #121945 #1E2B76 #2A3DA7 #4055CE

Accessibility & contrast

On white

12.63
#1E2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B76
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B76#FFFFFF#000000##FFFFFF
##1E2B761.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2b76;
/* rgb */ color: rgb(30, 43, 118);
/* oklch */ color: oklch(33.0% 0.129 270.2);
Tailwind
colors: {
  custom: {
    50: '#67649e',
    500: '#1e2b76',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b76;
$custom-light: #67649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b76",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 231.136,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32993,
    "c": 0.12867,
    "h": 270.2
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#1E2B76
secondary
#AA9B46
accent
#CB45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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