#1E255B#1E255B

#1E255B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.096 H 273.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1E255B
RGBrgb(30, 37, 91)
HSLhsl(233, 50%, 24%)
HSVhsv(233, 67%, 36%)
CMYKcmyk(67%, 59.3%, 0%, 64.3%)
CIE-LABlab(17.25, 16.19, -33.47)
CIE-LCHlch(17.25, 37.18, 295.81°)
OKLaboklab(29.29% 0.0056 -0.0961)
OKLCHoklch(29.29% 0.096 273.4)
XYZxyz(3.0847, 2.3542, 10.1874)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E255B #5B541E
analogous
#1E435B #1E255B #351E5B
triadic
#1E255B #5B1E25 #255B1E
tetradic
#1E255B #5B1E43 #5B541E #1E5B35
square
#1E255B #5B1E43 #5B541E #1E5B35
split-complementary
#1E255B #5B351E #435B1E
monochromatic
#080917 #0F122D #1E255B #2D3889 #3C4AB7

Accessibility & contrast

On white

14.28
#1E255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E255B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E255B#FFFFFF#000000##FFFFFF
##1E255B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e255b;
/* rgb */ color: rgb(30, 37, 91);
/* oklch */ color: oklch(29.3% 0.096 273.4);
Tailwind
colors: {
  custom: {
    50: '#615f8a',
    500: '#1e255b',
    950: '#000000',
  },
}
SCSS
$custom: #1e255b;
$custom-light: #615f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e255b",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 233.115,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29289,
    "c": 0.09628,
    "h": 273.4
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#1E255B
secondary
#908745
accent
#CA4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E255B

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

Preview Lab → · Contrast checker → · Palette generator →

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