#1E255C#1E255C

#1E255C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.098 H 273.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#1E255C
RGBrgb(30, 37, 92)
HSLhsl(233, 51%, 24%)
HSVhsv(233, 67%, 36%)
CMYKcmyk(67.4%, 59.8%, 0%, 63.9%)
CIE-LABlab(17.33, 16.58, -34.01)
CIE-LCHlch(17.33, 37.83, 295.99°)
OKLaboklab(29.38% 0.0057 -0.0977)
OKLCHoklch(29.38% 0.098 273.3)
XYZxyz(3.1281, 2.3716, 10.4161)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E255C #5C551E
analogous
#1E445C #1E255C #361E5C
triadic
#1E255C #5C1E25 #255C1E
tetradic
#1E255C #5C1E44 #5C551E #1E5C36
square
#1E255C #5C1E44 #5C551E #1E5C36
split-complementary
#1E255C #5C361E #445C1E
monochromatic
#080917 #0F122E #1E255C #2D388A #3C4AB8

Accessibility & contrast

On white

14.24
#1E255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E255C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E255C#FFFFFF#000000##FFFFFF
##1E255C1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e255c;
/* rgb */ color: rgb(30, 37, 92);
/* oklch */ color: oklch(29.4% 0.098 273.3);
Tailwind
colors: {
  custom: {
    50: '#625f8b',
    500: '#1e255c',
    950: '#000000',
  },
}
SCSS
$custom: #1e255c;
$custom-light: #625f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e255c",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 233.226,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29376,
    "c": 0.09785,
    "h": 273.3
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#1E255C
secondary
#918845
accent
#CA4DDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E255C

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

Preview Lab → · Contrast checker → · Palette generator →

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