#1E256D#1E256D

#1E256D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.124 H 272.6°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#1E256D
RGBrgb(30, 37, 109)
HSLhsl(235, 57%, 27%)
HSVhsv(235, 72%, 43%)
CMYKcmyk(72.5%, 66.1%, 0%, 57.3%)
CIE-LABlab(18.81, 23.23, -42.76)
CIE-LCHlch(18.81, 48.66, 298.51°)
OKLaboklab(30.94% 0.0055 -0.1234)
OKLCHoklch(30.94% 0.124 272.6)
XYZxyz(3.9564, 2.7029, 14.7782)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E256D #6D661E
analogous
#1E4C6D #1E256D #3F1E6D
triadic
#1E256D #6D1E25 #256D1E
tetradic
#1E256D #6D1E4C #6D661E #1E6D3F
square
#1E256D #6D1E4C #6D661E #1E6D3F
split-complementary
#1E256D #6D3F1E #4C6D1E
monochromatic
#070818 #11153D #1E256D #2B359D #3C49C9

Accessibility & contrast

On white

13.63
#1E256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E256D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E256D#FFFFFF#000000##FFFFFF
##1E256D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e256d;
/* rgb */ color: rgb(30, 37, 109);
/* oklch */ color: oklch(30.9% 0.124 272.6);
Tailwind
colors: {
  custom: {
    50: '#665f98',
    500: '#1e256d',
    950: '#000000',
  },
}
SCSS
$custom: #1e256d;
$custom-light: #665f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e256d",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 234.684,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30941,
    "c": 0.12353,
    "h": 272.6
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#1E256D
secondary
#A19945
accent
#D348E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1E256D

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

Preview Lab → · Contrast checker → · Palette generator →

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