#1E336B#1E336B

#1E336B is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.101 H 265.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#1E336B
RGBrgb(30, 51, 107)
HSLhsl(224, 56%, 27%)
HSVhsv(224, 72%, 42%)
CMYKcmyk(72%, 52.3%, 0%, 58%)
CIE-LABlab(22.67, 12.47, -35.20)
CIE-LCHlch(22.67, 37.35, 289.50°)
OKLaboklab(33.78% -0.0075 -0.101)
OKLCHoklch(33.78% 0.101 265.8)
XYZxyz(4.3722, 3.7048, 14.3917)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E336B #6B561E
analogous
#1E5A6B #1E336B #301E6B
triadic
#1E336B #6B1E33 #336B1E
tetradic
#1E336B #6B1E5A #6B561E #1E6B30
square
#1E336B #6B1E5A #6B561E #1E6B30
split-complementary
#1E336B #6B301E #5A6B1E
monochromatic
#070B18 #111C3B #1E336B #2B4A9B #3B62C8

Accessibility & contrast

On white

12.06
#1E336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E336B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E336B#FFFFFF#000000##FFFFFF
##1E336B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e336b;
/* rgb */ color: rgb(30, 51, 107);
/* oklch */ color: oklch(33.8% 0.101 265.8);
Tailwind
colors: {
  custom: {
    50: '#646a96',
    500: '#1e336b',
    950: '#000000',
  },
}
SCSS
$custom: #1e336b;
$custom-light: #646a96;
$custom-dark: #000000;
JSON
{
  "hex": "#1e336b",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 223.636,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.10128,
    "h": 265.8
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#1E336B
secondary
#9F8745
accent
#B648DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1E336B

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

Preview Lab → · Contrast checker → · Palette generator →

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