#1E2A9F#1E2A9F

#1E2A9F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.185 H 269.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1E2A9F
RGBrgb(30, 42, 159)
HSLhsl(234, 68%, 37%)
HSVhsv(234, 81%, 62%)
CMYKcmyk(81.1%, 73.6%, 0%, 37.6%)
CIE-LABlab(25.06, 38.61, -63.89)
CIE-LCHlch(25.06, 74.65, 301.15°)
OKLaboklab(36.99% -0.0025 -0.1851)
OKLCHoklch(36.99% 0.185 269.2)
XYZxyz(7.6192, 4.4343, 33.2485)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A9F #9F931E
analogous
#1E6A9F #1E2A9F #531E9F
triadic
#1E2A9F #9F1E2A #2A9F1E
tetradic
#1E2A9F #9F1E6A #9F931E #1E9F53
square
#1E2A9F #9F1E6A #9F931E #1E9F53
split-complementary
#1E2A9F #9F531E #6A9F1E
monochromatic
#0B0F38 #141C6C #1E2A9F #2838D2 #5865DF

Accessibility & contrast

On white

11.13
#1E2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E2A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A9F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A9F#FFFFFF#000000##FFFFFF
##1E2A9F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2a9f;
/* rgb */ color: rgb(30, 42, 159);
/* oklch */ color: oklch(37.0% 0.185 269.2);
Tailwind
colors: {
  custom: {
    50: '#7264bd',
    500: '#1e2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a9f;
$custom-light: #7264bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a9f",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 234.419,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36992,
    "c": 0.18512,
    "h": 269.2
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#1E2A9F
secondary
#C3B956
accent
#DB3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1E2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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