#1E2A8A#1E2A8A

#1E2A8A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.158 H 270.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1E2A8A
RGBrgb(30, 42, 138)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 54%)
CMYKcmyk(78.3%, 69.6%, 0%, 45.9%)
CIE-LABlab(22.88, 30.92, -54.53)
CIE-LCHlch(22.88, 62.69, 299.56°)
OKLaboklab(34.77% -0.0001 -0.1578)
OKLCHoklch(34.77% 0.158 270)
XYZxyz(5.9493, 3.7663, 24.4532)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A8A #8A7E1E
analogous
#1E608A #1E2A8A #481E8A
triadic
#1E2A8A #8A1E2A #2A8A1E
tetradic
#1E2A8A #8A1E60 #8A7E1E #1E8A48
square
#1E2A8A #8A1E60 #8A7E1E #1E8A48
split-complementary
#1E2A8A #8A481E #608A1E
monochromatic
#080B25 #131B58 #1E2A8A #2939BC #4B5AD8

Accessibility & contrast

On white

11.98
#1E2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A8A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A8A#FFFFFF#000000##FFFFFF
##1E2A8A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2a8a;
/* rgb */ color: rgb(30, 42, 138);
/* oklch */ color: oklch(34.8% 0.158 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d64ad',
    500: '#1e2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a8a;
$custom-light: #6d64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a8a",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 233.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34771,
    "c": 0.15782,
    "h": 270
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#1E2A8A
secondary
#BAAE4A
accent
#D541E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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