#1E256E#1E256E

#1E256E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.125 H 272.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1E256E
RGBrgb(30, 37, 110)
HSLhsl(235, 57%, 27%)
HSVhsv(235, 73%, 43%)
CMYKcmyk(72.7%, 66.4%, 0%, 56.9%)
CIE-LABlab(18.91, 23.62, -43.26)
CIE-LCHlch(18.91, 49.28, 298.63°)
OKLaboklab(31.04% 0.0055 -0.1249)
OKLCHoklch(31.04% 0.125 272.5)
XYZxyz(4.0105, 2.7246, 15.0634)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E256E #6E671E
analogous
#1E4D6E #1E256E #3F1E6E
triadic
#1E256E #6E1E25 #256E1E
tetradic
#1E256E #6E1E4D #6E671E #1E6E3F
square
#1E256E #6E1E4D #6E671E #1E6E3F
split-complementary
#1E256E #6E3F1E #4D6E1E
monochromatic
#070818 #11153E #1E256E #2B359E #3C49CA

Accessibility & contrast

On white

13.59
#1E256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E256E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E256E#FFFFFF#000000##FFFFFF
##1E256E1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e256e;
/* rgb */ color: rgb(30, 37, 110);
/* oklch */ color: oklch(31.0% 0.125 272.5);
Tailwind
colors: {
  custom: {
    50: '#665f98',
    500: '#1e256e',
    950: '#000000',
  },
}
SCSS
$custom: #1e256e;
$custom-light: #665f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e256e",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 234.75,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31038,
    "c": 0.12498,
    "h": 272.5
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#1E256E
secondary
#A29A46
accent
#D347E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1E256E

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

Preview Lab → · Contrast checker → · Palette generator →

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