#1E2256#1E2256

#1E2256 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.093 H 275.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2256
RGBrgb(30, 34, 86)
HSLhsl(236, 48%, 23%)
HSVhsv(236, 65%, 34%)
CMYKcmyk(65.1%, 60.5%, 0%, 66.3%)
CIE-LABlab(15.96, 16.41, -32.21)
CIE-LCHlch(15.96, 36.15, 297.00°)
OKLaboklab(28.2% 0.0087 -0.0924)
OKLCHoklch(28.2% 0.093 275.4)
XYZxyz(2.7866, 2.0917, 9.0592)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2256 #56521E
analogous
#1E3E56 #1E2256 #361E56
triadic
#1E2256 #561E22 #22561E
tetradic
#1E2256 #561E3E #56521E #1E5636
square
#1E2256 #561E3E #56521E #1E5636
split-complementary
#1E2256 #56361E #3E561E
monochromatic
#080917 #0E1029 #1E2256 #2E3483 #3E46B1

Accessibility & contrast

On white

14.81
#1E2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2256
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2256#FFFFFF#000000##FFFFFF
##1E22561.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2256;
/* rgb */ color: rgb(30, 34, 86);
/* oklch */ color: oklch(28.2% 0.093 275.4);
Tailwind
colors: {
  custom: {
    50: '#605c86',
    500: '#1e2256',
    950: '#000000',
  },
}
SCSS
$custom: #1e2256;
$custom-light: #605c86;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2256",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 235.714,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.282,
    "c": 0.09283,
    "h": 275.4
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#1E2256
secondary
#8B8645
accent
#CE50D8
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1E2256

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

Preview Lab → · Contrast checker → · Palette generator →

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