#1E3166#1E3166

#1E3166 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.096 H 266.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E3166
RGBrgb(30, 49, 102)
HSLhsl(224, 55%, 26%)
HSVhsv(224, 71%, 40%)
CMYKcmyk(70.6%, 52%, 0%, 60%)
CIE-LABlab(21.70, 11.89, -33.53)
CIE-LCHlch(21.70, 35.58, 289.52°)
OKLaboklab(32.92% -0.0061 -0.0961)
OKLCHoklch(32.92% 0.096 266.4)
XYZxyz(4.0312, 3.4316, 13.0177)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3166 #66531E
analogous
#1E5566 #1E3166 #2F1E66
triadic
#1E3166 #661E31 #31661E
tetradic
#1E3166 #661E55 #66531E #1E662F
square
#1E3166 #661E55 #66531E #1E662F
split-complementary
#1E3166 #662F1E #55661E
monochromatic
#070B18 #101A37 #1E3166 #2C4895 #3A5EC5

Accessibility & contrast

On white

12.45
#1E3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3166
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3166#FFFFFF#000000##FFFFFF
##1E31661.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#033165
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e3166;
/* rgb */ color: rgb(30, 49, 102);
/* oklch */ color: oklch(32.9% 0.096 266.4);
Tailwind
colors: {
  custom: {
    50: '#636892',
    500: '#1e3166',
    950: '#000000',
  },
}
SCSS
$custom: #1e3166;
$custom-light: #636892;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3166",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 224.167,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3292,
    "c": 0.09632,
    "h": 266.4
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#1E3166
secondary
#9B8445
accent
#B74ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E3166

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

Preview Lab → · Contrast checker → · Palette generator →

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