#1E2A7E#1E2A7E

#1E2A7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.141 H 270.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1E2A7E
RGBrgb(30, 42, 126)
HSLhsl(233, 62%, 31%)
HSVhsv(233, 76%, 49%)
CMYKcmyk(76.2%, 66.7%, 0%, 50.6%)
CIE-LABlab(21.72, 26.35, -48.90)
CIE-LCHlch(21.72, 55.55, 298.32°)
OKLaboklab(33.57% 0.0008 -0.1414)
OKLCHoklch(33.57% 0.141 270.3)
XYZxyz(5.1280, 3.4378, 20.1279)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A7E #7E721E
analogous
#1E5A7E #1E2A7E #421E7E
triadic
#1E2A7E #7E1E2A #2A7E1E
tetradic
#1E2A7E #7E1E5A #7E721E #1E7E42
square
#1E2A7E #7E1E5A #7E721E #1E7E42
split-complementary
#1E2A7E #7E421E #5A7E1E
monochromatic
#06091B #121A4D #1E2A7E #2A3AAF #4456D2

Accessibility & contrast

On white

12.44
#1E2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A7E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A7E#FFFFFF#000000##FFFFFF
##1E2A7E1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2a7e;
/* rgb */ color: rgb(30, 42, 126);
/* oklch */ color: oklch(33.6% 0.141 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a63a4',
    500: '#1e2a7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a7e;
$custom-light: #6a63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a7e",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 232.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.14136,
    "h": 270.3
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#1E2A7E
secondary
#B1A447
accent
#D043E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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