#1E2255#1E2255

#1E2255 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.091 H 275.5°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#1E2255
RGBrgb(30, 34, 85)
HSLhsl(236, 48%, 23%)
HSVhsv(236, 65%, 33%)
CMYKcmyk(64.7%, 60%, 0%, 66.7%)
CIE-LABlab(15.88, 16.02, -31.66)
CIE-LCHlch(15.88, 35.49, 296.84°)
OKLaboklab(28.11% 0.0087 -0.0908)
OKLCHoklch(28.11% 0.091 275.5)
XYZxyz(2.7466, 2.0757, 8.8485)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2255 #55511E
analogous
#1E3E55 #1E2255 #351E55
triadic
#1E2255 #551E22 #22551E
tetradic
#1E2255 #551E3E #55511E #1E5535
square
#1E2255 #551E3E #55511E #1E5535
split-complementary
#1E2255 #55351E #3E551E
monochromatic
#080917 #0E1028 #1E2255 #2E3482 #3E46AF

Accessibility & contrast

On white

14.84
#1E2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2255
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2255#FFFFFF#000000##FFFFFF
##1E22551.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012A57
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2255;
/* rgb */ color: rgb(30, 34, 85);
/* oklch */ color: oklch(28.1% 0.091 275.5);
Tailwind
colors: {
  custom: {
    50: '#605c85',
    500: '#1e2255',
    950: '#000000',
  },
}
SCSS
$custom: #1e2255;
$custom-light: #605c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2255",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 235.636,
    "s": 47.826,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28113,
    "c": 0.09125,
    "h": 275.5
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#1E2255
secondary
#8A8545
accent
#CE50D7
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1E2255

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

Preview Lab → · Contrast checker → · Palette generator →

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