#1E2995#1E2995

#1E2995 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.173 H 269.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2995
RGBrgb(30, 41, 149)
HSLhsl(234, 66%, 35%)
HSVhsv(234, 80%, 58%)
CMYKcmyk(79.9%, 72.5%, 0%, 41.6%)
CIE-LABlab(23.77, 35.63, -59.88)
CIE-LCHlch(23.77, 69.68, 300.75°)
OKLaboklab(35.75% -0.0008 -0.1734)
OKLCHoklch(35.75% 0.173 269.7)
XYZxyz(6.7513, 4.0311, 28.8502)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2995 #958A1E
analogous
#1E6495 #1E2995 #4F1E95
triadic
#1E2995 #951E29 #29951E
tetradic
#1E2995 #951E64 #958A1E #1E954F
square
#1E2995 #951E64 #958A1E #1E954F
split-complementary
#1E2995 #954F1E #64951E
monochromatic
#090D2F #141B62 #1E2995 #2837C8 #515EDC

Accessibility & contrast

On white

11.63
#1E2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2995
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2995#FFFFFF#000000##FFFFFF
##1E29951.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2995;
/* rgb */ color: rgb(30, 41, 149);
/* oklch */ color: oklch(35.8% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#1e2995',
    950: '#000000',
  },
}
SCSS
$custom: #1e2995;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2995",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 234.454,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.17343,
    "h": 269.7
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#1E2995
secondary
#BFB550
accent
#DA3EE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2995

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

Preview Lab → · Contrast checker → · Palette generator →

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