#1E2288#1E2288

#1E2288 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.164 H 271.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2288
RGBrgb(30, 34, 136)
HSLhsl(238, 64%, 33%)
HSVhsv(238, 78%, 53%)
CMYKcmyk(77.9%, 75%, 0%, 46.7%)
CIE-LABlab(20.82, 35.29, -56.68)
CIE-LCHlch(20.82, 66.77, 301.90°)
OKLaboklab(33.22% 0.0043 -0.1641)
OKLCHoklch(33.22% 0.164 271.5)
XYZxyz(5.5499, 3.1971, 23.6124)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2288 #88841E
analogous
#1E5788 #1E2288 #4F1E88
triadic
#1E2288 #881E22 #22881E
tetradic
#1E2288 #881E57 #88841E #1E884F
square
#1E2288 #881E57 #88841E #1E884F
split-complementary
#1E2288 #884F1E #57881E
monochromatic
#080924 #131556 #1E2288 #292FBA #494FD7

Accessibility & contrast

On white

12.81
#1E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2288
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2288#FFFFFF#000000##FFFFFF
##1E22881.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2288;
/* rgb */ color: rgb(30, 34, 136);
/* oklch */ color: oklch(33.2% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#6d5eac',
    500: '#1e2288',
    950: '#000000',
  },
}
SCSS
$custom: #1e2288;
$custom-light: #6d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2288",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 237.736,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.16415,
    "h": 271.5
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#1E2288
secondary
#B9B549
accent
#E141E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2288

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

Preview Lab → · Contrast checker → · Palette generator →

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