#1E256A#1E256A

#1E256A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.7% C 0.119 H 272.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1E256A
RGBrgb(30, 37, 106)
HSLhsl(234, 56%, 27%)
HSVhsv(234, 72%, 42%)
CMYKcmyk(71.7%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.54, 22.06, -41.26)
CIE-LCHlch(18.54, 46.79, 298.14°)
OKLaboklab(30.65% 0.0056 -0.119)
OKLCHoklch(30.65% 0.119 272.7)
XYZxyz(3.7976, 2.6394, 13.9422)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E256A #6A631E
analogous
#1E4B6A #1E256A #3D1E6A
triadic
#1E256A #6A1E25 #256A1E
tetradic
#1E256A #6A1E4B #6A631E #1E6A3D
square
#1E256A #6A1E4B #6A631E #1E6A3D
split-complementary
#1E256A #6A3D1E #4B6A1E
monochromatic
#070818 #11143A #1E256A #2C369A #3B48C7

Accessibility & contrast

On white

13.74
#1E256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E256A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E256A#FFFFFF#000000##FFFFFF
##1E256A1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e256a;
/* rgb */ color: rgb(30, 37, 106);
/* oklch */ color: oklch(30.7% 0.119 272.7);
Tailwind
colors: {
  custom: {
    50: '#655f95',
    500: '#1e256a',
    950: '#000000',
  },
}
SCSS
$custom: #1e256a;
$custom-light: #655f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1e256a",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 234.474,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30654,
    "c": 0.11913,
    "h": 272.7
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#1E256A
secondary
#9E9645
accent
#D149DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E256A

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

Preview Lab → · Contrast checker → · Palette generator →

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