#1E225E#1E225E

#1E225E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.105 H 274.8°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#1E225E
RGBrgb(30, 34, 94)
HSLhsl(236, 52%, 24%)
HSVhsv(236, 68%, 37%)
CMYKcmyk(68.1%, 63.8%, 0%, 63.1%)
CIE-LABlab(16.64, 19.52, -36.45)
CIE-LCHlch(16.64, 41.35, 298.17°)
OKLaboklab(28.92% 0.0088 -0.1049)
OKLCHoklch(28.92% 0.105 274.8)
XYZxyz(3.1272, 2.2280, 10.8527)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E225E #5E5A1E
analogous
#1E425E #1E225E #3A1E5E
triadic
#1E225E #5E1E22 #225E1E
tetradic
#1E225E #5E1E42 #5E5A1E #1E5E3A
square
#1E225E #5E1E42 #5E5A1E #1E5E3A
split-complementary
#1E225E #5E3A1E #425E1E
monochromatic
#070817 #0F1130 #1E225E #2D338C #3C44BB

Accessibility & contrast

On white

14.53
#1E225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E225E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E225E#FFFFFF#000000##FFFFFF
##1E225E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e225e;
/* rgb */ color: rgb(30, 34, 94);
/* oklch */ color: oklch(28.9% 0.105 274.8);
Tailwind
colors: {
  custom: {
    50: '#625d8c',
    500: '#1e225e',
    950: '#000000',
  },
}
SCSS
$custom: #1e225e;
$custom-light: #625d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e225e",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 236.25,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.10528,
    "h": 274.8
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#1E225E
secondary
#938E45
accent
#D24DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E225E

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

Preview Lab → · Contrast checker → · Palette generator →

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