#1E2B72#1E2B72

#1E2B72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.123 H 270.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1E2B72
RGBrgb(30, 43, 114)
HSLhsl(231, 58%, 28%)
HSVhsv(231, 74%, 45%)
CMYKcmyk(73.7%, 62.3%, 0%, 55.3%)
CIE-LABlab(20.90, 20.97, -42.59)
CIE-LCHlch(20.90, 47.47, 296.22°)
OKLaboklab(32.62% 0.0004 -0.1228)
OKLCHoklch(32.62% 0.123 270.2)
XYZxyz(4.4355, 3.2182, 16.3038)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B72 #72651E
analogous
#1E5572 #1E2B72 #3B1E72
triadic
#1E2B72 #721E2B #2B721E
tetradic
#1E2B72 #721E55 #72651E #1E723B
square
#1E2B72 #721E55 #72651E #1E723B
split-complementary
#1E2B72 #723B1E #55721E
monochromatic
#060918 #111942 #1E2B72 #2B3DA2 #3E54CC

Accessibility & contrast

On white

12.78
#1E2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B72
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B72#FFFFFF#000000##FFFFFF
##1E2B721.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2b72;
/* rgb */ color: rgb(30, 43, 114);
/* oklch */ color: oklch(32.6% 0.123 270.2);
Tailwind
colors: {
  custom: {
    50: '#66649b',
    500: '#1e2b72',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b72;
$custom-light: #66649b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b72",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 230.714,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32622,
    "c": 0.12283,
    "h": 270.2
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#1E2B72
secondary
#A69746
accent
#CA46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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