#1E255A#1E255A

#1E255A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.095 H 273.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1E255A
RGBrgb(30, 37, 90)
HSLhsl(233, 50%, 24%)
HSVhsv(233, 67%, 35%)
CMYKcmyk(66.7%, 58.9%, 0%, 64.7%)
CIE-LABlab(17.17, 15.79, -32.94)
CIE-LCHlch(17.17, 36.53, 295.61°)
OKLaboklab(29.2% 0.0056 -0.0945)
OKLCHoklch(29.2% 0.095 273.4)
XYZxyz(3.0418, 2.3371, 9.9617)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E255A #5A531E
analogous
#1E435A #1E255A #351E5A
triadic
#1E255A #5A1E25 #255A1E
tetradic
#1E255A #5A1E43 #5A531E #1E5A35
square
#1E255A #5A1E43 #5A531E #1E5A35
split-complementary
#1E255A #5A351E #435A1E
monochromatic
#080917 #0F122C #1E255A #2D3888 #3D4BB6

Accessibility & contrast

On white

14.31
#1E255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E255A
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E255A#FFFFFF#000000##FFFFFF
##1E255A1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022D5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e255a;
/* rgb */ color: rgb(30, 37, 90);
/* oklch */ color: oklch(29.2% 0.095 273.4);
Tailwind
colors: {
  custom: {
    50: '#615f89',
    500: '#1e255a',
    950: '#000000',
  },
}
SCSS
$custom: #1e255a;
$custom-light: #615f89;
$custom-dark: #000000;
JSON
{
  "hex": "#1e255a",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 233,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29203,
    "c": 0.0947,
    "h": 273.4
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#1E255A
secondary
#8F8645
accent
#C94EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #1E255A

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

Preview Lab → · Contrast checker → · Palette generator →

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