#1E336A#1E336A

#1E336A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.100 H 265.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1E336A
RGBrgb(30, 51, 106)
HSLhsl(223, 56%, 27%)
HSVhsv(223, 72%, 42%)
CMYKcmyk(71.7%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.60, 12.07, -34.68)
CIE-LCHlch(22.60, 36.72, 289.19°)
OKLaboklab(33.7% -0.0076 -0.0994)
OKLCHoklch(33.7% 0.1 265.6)
XYZxyz(4.3199, 3.6839, 14.1163)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E336A #6A551E
analogous
#1E596A #1E336A #2F1E6A
triadic
#1E336A #6A1E33 #336A1E
tetradic
#1E336A #6A1E59 #6A551E #1E6A2F
square
#1E336A #6A1E59 #6A551E #1E6A2F
split-complementary
#1E336A #6A2F1E #596A1E
monochromatic
#070B18 #111C3A #1E336A #2C4A9A #3B62C7

Accessibility & contrast

On white

12.09
#1E336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E336A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E336A#FFFFFF#000000##FFFFFF
##1E336A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#013369
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e336a;
/* rgb */ color: rgb(30, 51, 106);
/* oklch */ color: oklch(33.7% 0.100 265.6);
Tailwind
colors: {
  custom: {
    50: '#646a95',
    500: '#1e336a',
    950: '#000000',
  },
}
SCSS
$custom: #1e336a;
$custom-light: #646a95;
$custom-dark: #000000;
JSON
{
  "hex": "#1e336a",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 223.421,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.337,
    "c": 0.09973,
    "h": 265.6
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#1E336A
secondary
#9E8645
accent
#B649DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E336A

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

Preview Lab → · Contrast checker → · Palette generator →

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