#1E2268#1E2268

#1E2268 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.120 H 274.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1E2268
RGBrgb(30, 34, 104)
HSLhsl(237, 55%, 26%)
HSVhsv(237, 71%, 41%)
CMYKcmyk(71.2%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.55, 23.39, -41.57)
CIE-LCHlch(17.55, 47.70, 299.37°)
OKLaboklab(29.87% 0.0083 -0.1199)
OKLCHoklch(29.87% 0.12 274)
XYZxyz(3.6053, 2.4192, 13.3710)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2268 #68641E
analogous
#1E4768 #1E2268 #3F1E68
triadic
#1E2268 #681E22 #22681E
tetradic
#1E2268 #681E47 #68641E #1E683F
square
#1E2268 #681E47 #68641E #1E683F
split-complementary
#1E2268 #683F1E #47681E
monochromatic
#070818 #101239 #1E2268 #2C3298 #3A42C6

Accessibility & contrast

On white

14.15
#1E2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2268
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2268#FFFFFF#000000##FFFFFF
##1E22681.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e2268;
/* rgb */ color: rgb(30, 34, 104);
/* oklch */ color: oklch(29.9% 0.120 274.0);
Tailwind
colors: {
  custom: {
    50: '#655d94',
    500: '#1e2268',
    950: '#000000',
  },
}
SCSS
$custom: #1e2268;
$custom-light: #655d94;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2268",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 236.757,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.12022,
    "h": 274
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#1E2268
secondary
#9D9845
accent
#D649DF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E2268

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

Preview Lab → · Contrast checker → · Palette generator →

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