#1E299F#1E299F

#1E299F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.186 H 269.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1E299F
RGBrgb(30, 41, 159)
HSLhsl(235, 68%, 37%)
HSVhsv(235, 81%, 62%)
CMYKcmyk(81.1%, 74.2%, 0%, 37.6%)
CIE-LABlab(24.84, 39.22, -64.25)
CIE-LCHlch(24.84, 75.27, 301.40°)
OKLaboklab(36.84% -0.0021 -0.1861)
OKLCHoklch(36.84% 0.186 269.3)
XYZxyz(7.5842, 4.3642, 33.2368)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E299F #9F941E
analogous
#1E699F #1E299F #541E9F
triadic
#1E299F #9F1E29 #299F1E
tetradic
#1E299F #9F1E69 #9F941E #1E9F54
square
#1E299F #9F1E69 #9F941E #1E9F54
split-complementary
#1E299F #9F541E #699F1E
monochromatic
#0B0E38 #141C6C #1E299F #2836D2 #5863DF

Accessibility & contrast

On white

11.21
#1E299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E299F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E299F#FFFFFF#000000##FFFFFF
##1E299F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e299f;
/* rgb */ color: rgb(30, 41, 159);
/* oklch */ color: oklch(36.8% 0.186 269.3);
Tailwind
colors: {
  custom: {
    50: '#7364bd',
    500: '#1e299f',
    950: '#000000',
  },
}
SCSS
$custom: #1e299f;
$custom-light: #7364bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e299f",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 234.884,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36837,
    "c": 0.18614,
    "h": 269.3
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#1E299F
secondary
#C3BA56
accent
#DC3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1E299F

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

Preview Lab → · Contrast checker → · Palette generator →

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