#1E225D#1E225D

#1E225D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.104 H 274.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#1E225D
RGBrgb(30, 34, 93)
HSLhsl(236, 51%, 24%)
HSVhsv(236, 68%, 36%)
CMYKcmyk(67.7%, 63.4%, 0%, 63.5%)
CIE-LABlab(16.55, 19.14, -35.93)
CIE-LCHlch(16.55, 40.71, 298.04°)
OKLaboklab(28.83% 0.0088 -0.1034)
OKLCHoklch(28.83% 0.104 274.9)
XYZxyz(3.0826, 2.2101, 10.6180)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E225D #5D591E
analogous
#1E425D #1E225D #3A1E5D
triadic
#1E225D #5D1E22 #225D1E
tetradic
#1E225D #5D1E42 #5D591E #1E5D3A
square
#1E225D #5D1E42 #5D591E #1E5D3A
split-complementary
#1E225D #5D3A1E #425D1E
monochromatic
#070817 #0F112F #1E225D #2D338B #3C44BA

Accessibility & contrast

On white

14.56
#1E225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E225D
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E225D#FFFFFF#000000##FFFFFF
##1E225D1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e225d;
/* rgb */ color: rgb(30, 34, 93);
/* oklch */ color: oklch(28.8% 0.104 274.9);
Tailwind
colors: {
  custom: {
    50: '#625d8b',
    500: '#1e225d',
    950: '#000000',
  },
}
SCSS
$custom: #1e225d;
$custom-light: #625d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e225d",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 236.19,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28827,
    "c": 0.10375,
    "h": 274.9
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#1E225D
secondary
#928D45
accent
#D24DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E225D

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

Preview Lab → · Contrast checker → · Palette generator →

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