#1E2A8F#1E2A8F

#1E2A8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.164 H 269.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#1E2A8F
RGBrgb(30, 42, 143)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 79%, 56%)
CMYKcmyk(79%, 70.6%, 0%, 43.9%)
CIE-LABlab(23.39, 32.79, -56.81)
CIE-LCHlch(23.39, 65.60, 299.99°)
OKLaboklab(35.29% -0.0006 -0.1645)
OKLCHoklch(35.29% 0.164 269.8)
XYZxyz(6.3196, 3.9144, 26.4038)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A8F #8F831E
analogous
#1E638F #1E2A8F #4B1E8F
triadic
#1E2A8F #8F1E2A #2A8F1E
tetradic
#1E2A8F #8F1E63 #8F831E #1E8F4B
square
#1E2A8F #8F1E63 #8F831E #1E8F4B
split-complementary
#1E2A8F #8F4B1E #638F1E
monochromatic
#090C2A #131B5C #1E2A8F #2939C2 #4E5DDA

Accessibility & contrast

On white

11.78
#1E2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A8F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A8F#FFFFFF#000000##FFFFFF
##1E2A8F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2a8f;
/* rgb */ color: rgb(30, 42, 143);
/* oklch */ color: oklch(35.3% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e64b1',
    500: '#1e2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a8f;
$custom-light: #6e64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a8f",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 233.628,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.16448,
    "h": 269.8
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#1E2A8F
secondary
#BCB14C
accent
#D640E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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