#1E335F#1E335F

#1E335F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.083 H 263.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1E335F
RGBrgb(30, 51, 95)
HSLhsl(221, 52%, 25%)
HSVhsv(221, 68%, 37%)
CMYKcmyk(68.4%, 46.3%, 0%, 62.7%)
CIE-LABlab(21.83, 7.65, -28.74)
CIE-LCHlch(21.83, 29.74, 284.91°)
OKLaboklab(32.87% -0.0096 -0.082)
OKLCHoklch(32.87% 0.083 263.3)
XYZxyz(3.7841, 3.4695, 11.2945)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E335F #5F4A1E
analogous
#1E545F #1E335F #291E5F
triadic
#1E335F #5F1E33 #335F1E
tetradic
#1E335F #5F1E54 #5F4A1E #1E5F29
square
#1E335F #5F1E54 #5F4A1E #1E5F29
split-complementary
#1E335F #5F291E #545F1E
monochromatic
#070C17 #0F1A30 #1E335F #2D4C8E #3B65BC

Accessibility & contrast

On white

12.40
#1E335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E335F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E335F#FFFFFF#000000##FFFFFF
##1E335F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3761
Deuteranopia (green-blind)
#14325E
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e335f;
/* rgb */ color: rgb(30, 51, 95);
/* oklch */ color: oklch(32.9% 0.083 263.3);
Tailwind
colors: {
  custom: {
    50: '#616a8d',
    500: '#1e335f',
    950: '#000000',
  },
}
SCSS
$custom: #1e335f;
$custom-light: #616a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e335f",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 220.615,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3287,
    "c": 0.08255,
    "h": 263.3
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#1E335F
secondary
#947A45
accent
#AD4CDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E335F

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

Preview Lab → · Contrast checker → · Palette generator →

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