#1E2A7F#1E2A7F

#1E2A7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.143 H 270.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1E2A7F
RGBrgb(30, 42, 127)
HSLhsl(233, 62%, 31%)
HSVhsv(233, 76%, 50%)
CMYKcmyk(76.4%, 66.9%, 0%, 50.2%)
CIE-LABlab(21.81, 26.74, -49.38)
CIE-LCHlch(21.81, 56.15, 298.44°)
OKLaboklab(33.66% 0.0008 -0.1428)
OKLCHoklch(33.66% 0.143 270.3)
XYZxyz(5.1928, 3.4637, 20.4694)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A7F #7F731E
analogous
#1E5A7F #1E2A7F #421E7F
triadic
#1E2A7F #7F1E2A #2A7F1E
tetradic
#1E2A7F #7F1E5A #7F731E #1E7F42
square
#1E2A7F #7F1E5A #7F731E #1E7F42
split-complementary
#1E2A7F #7F421E #5A7F1E
monochromatic
#07091C #121A4D #1E2A7F #2A3AB1 #4456D3

Accessibility & contrast

On white

12.41
#1E2A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2A7F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A7F#FFFFFF#000000##FFFFFF
##1E2A7F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2a7f;
/* rgb */ color: rgb(30, 42, 127);
/* oklch */ color: oklch(33.7% 0.143 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a63a5',
    500: '#1e2a7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a7f;
$custom-light: #6a63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a7f",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 232.577,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33664,
    "c": 0.14276,
    "h": 270.3
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#1E2A7F
secondary
#B2A547
accent
#D143E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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