#1E2A90#1E2A90

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

Color values

HEX#1E2A90
RGBrgb(30, 42, 144)
HSLhsl(234, 66%, 34%)
HSVhsv(234, 79%, 56%)
CMYKcmyk(79.2%, 70.8%, 0%, 43.5%)
CIE-LABlab(23.49, 33.16, -57.26)
CIE-LCHlch(23.49, 66.17, 300.08°)
OKLaboklab(35.39% -0.0007 -0.1658)
OKLCHoklch(35.39% 0.166 269.8)
XYZxyz(6.3957, 3.9449, 26.8045)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A90 #90841E
analogous
#1E6390 #1E2A90 #4B1E90
triadic
#1E2A90 #901E2A #2A901E
tetradic
#1E2A90 #901E63 #90841E #1E904B
square
#1E2A90 #901E63 #90841E #1E904B
split-complementary
#1E2A90 #904B1E #63901E
monochromatic
#090C2B #131B5D #1E2A90 #2939C3 #4E5DDA

Accessibility & contrast

On white

11.74
#1E2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A90
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A90#FFFFFF#000000##FFFFFF
##1E2A901.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2a90;
/* rgb */ color: rgb(30, 42, 144);
/* oklch */ color: oklch(35.4% 0.166 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e64b2',
    500: '#1e2a90',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a90;
$custom-light: #6e64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a90",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 233.684,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.1658,
    "h": 269.8
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#1E2A90
secondary
#BDB14D
accent
#D73FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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