#1E225A#1E225A

#1E225A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.099 H 275.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#1E225A
RGBrgb(30, 34, 90)
HSLhsl(236, 50%, 24%)
HSVhsv(236, 67%, 35%)
CMYKcmyk(66.7%, 62.2%, 0%, 64.7%)
CIE-LABlab(16.30, 17.97, -34.35)
CIE-LCHlch(16.30, 38.76, 297.62°)
OKLaboklab(28.55% 0.0088 -0.0987)
OKLCHoklch(28.55% 0.099 275.1)
XYZxyz(2.9523, 2.1580, 9.9318)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E225A #5A561E
analogous
#1E405A #1E225A #381E5A
triadic
#1E225A #5A1E22 #225A1E
tetradic
#1E225A #5A1E40 #5A561E #1E5A38
square
#1E225A #5A1E40 #5A561E #1E5A38
split-complementary
#1E225A #5A381E #405A1E
monochromatic
#080917 #0F112C #1E225A #2D3388 #3D45B6

Accessibility & contrast

On white

14.67
#1E225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E225A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E225A#FFFFFF#000000##FFFFFF
##1E225A1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e225a;
/* rgb */ color: rgb(30, 34, 90);
/* oklch */ color: oklch(28.6% 0.099 275.1);
Tailwind
colors: {
  custom: {
    50: '#615d89',
    500: '#1e225a',
    950: '#000000',
  },
}
SCSS
$custom: #1e225a;
$custom-light: #615d89;
$custom-dark: #000000;
JSON
{
  "hex": "#1e225a",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 236,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.09911,
    "h": 275.1
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#1E225A
secondary
#8F8A45
accent
#D04EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #1E225A

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

Preview Lab → · Contrast checker → · Palette generator →

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