#1E225F#1E225F

#1E225F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.107 H 274.7°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1E225F
RGBrgb(30, 34, 95)
HSLhsl(236, 52%, 25%)
HSVhsv(236, 68%, 37%)
CMYKcmyk(68.4%, 64.2%, 0%, 62.7%)
CIE-LABlab(16.73, 19.91, -36.97)
CIE-LCHlch(16.73, 42.00, 298.30°)
OKLaboklab(29.01% 0.0088 -0.1064)
OKLCHoklch(29.01% 0.107 274.7)
XYZxyz(3.1723, 2.2460, 11.0906)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E225F #5F5B1E
analogous
#1E435F #1E225F #3B1E5F
triadic
#1E225F #5F1E22 #225F1E
tetradic
#1E225F #5F1E43 #5F5B1E #1E5F3B
square
#1E225F #5F1E43 #5F5B1E #1E5F3B
split-complementary
#1E225F #5F3B1E #435F1E
monochromatic
#070817 #0F1130 #1E225F #2D338E #3B43BC

Accessibility & contrast

On white

14.49
#1E225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E225F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E225F#FFFFFF#000000##FFFFFF
##1E225F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e225f;
/* rgb */ color: rgb(30, 34, 95);
/* oklch */ color: oklch(29.0% 0.107 274.7);
Tailwind
colors: {
  custom: {
    50: '#635d8d',
    500: '#1e225f',
    950: '#000000',
  },
}
SCSS
$custom: #1e225f;
$custom-light: #635d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e225f",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 236.308,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.10681,
    "h": 274.7
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#1E225F
secondary
#948F45
accent
#D34CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E225F

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

Preview Lab → · Contrast checker → · Palette generator →

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