#1E229B#1E229B

#1E229B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.188 H 270.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1E229B
RGBrgb(30, 34, 155)
HSLhsl(238, 68%, 36%)
HSVhsv(238, 81%, 61%)
CMYKcmyk(80.6%, 78.1%, 0%, 39.2%)
CIE-LABlab(22.95, 41.91, -64.93)
CIE-LCHlch(22.95, 77.28, 302.84°)
OKLaboklab(35.36% 0.001 -0.188)
OKLCHoklch(35.36% 0.188 270.3)
XYZxyz(7.0218, 3.7858, 31.3647)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E229B #9B971E
analogous
#1E619B #1E229B #591E9B
triadic
#1E229B #9B1E22 #229B1E
tetradic
#1E229B #9B1E61 #9B971E #1E9B59
square
#1E229B #9B1E61 #9B971E #1E9B59
split-complementary
#1E229B #9B591E #619B1E
monochromatic
#0A0C34 #141768 #1E229B #282DCE #555ADE

Accessibility & contrast

On white

11.95
#1E229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E229B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E229B#FFFFFF#000000##FFFFFF
##1E229B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e229b;
/* rgb */ color: rgb(30, 34, 155);
/* oklch */ color: oklch(35.4% 0.188 270.3);
Tailwind
colors: {
  custom: {
    50: '#725fba',
    500: '#1e229b',
    950: '#000000',
  },
}
SCSS
$custom: #1e229b;
$custom-light: #725fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e229b",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 238.08,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.18805,
    "h": 270.3
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#1E229B
secondary
#C2BE53
accent
#E53DEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1E229B

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

Preview Lab → · Contrast checker → · Palette generator →

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