#1E336E#1E336E

#1E336E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.106 H 266.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1E336E
RGBrgb(30, 51, 110)
HSLhsl(224, 57%, 27%)
HSVhsv(224, 73%, 43%)
CMYKcmyk(72.7%, 53.6%, 0%, 56.9%)
CIE-LABlab(22.89, 13.68, -36.78)
CIE-LCHlch(22.89, 39.24, 290.40°)
OKLaboklab(34.02% -0.0071 -0.1056)
OKLCHoklch(34.02% 0.106 266.1)
XYZxyz(4.5327, 3.7690, 15.2374)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E336E #6E591E
analogous
#1E5B6E #1E336E #311E6E
triadic
#1E336E #6E1E33 #336E1E
tetradic
#1E336E #6E1E5B #6E591E #1E6E31
square
#1E336E #6E1E5B #6E591E #1E6E31
split-complementary
#1E336E #6E311E #5B6E1E
monochromatic
#070B18 #111D3E #1E336E #2B499E #3C62CA

Accessibility & contrast

On white

11.97
#1E336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E336E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E336E#FFFFFF#000000##FFFFFF
##1E336E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e336e;
/* rgb */ color: rgb(30, 51, 110);
/* oklch */ color: oklch(34.0% 0.106 266.1);
Tailwind
colors: {
  custom: {
    50: '#656a98',
    500: '#1e336e',
    950: '#000000',
  },
}
SCSS
$custom: #1e336e;
$custom-light: #656a98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e336e",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 224.25,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.10587,
    "h": 266.1
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#1E336E
secondary
#A28A46
accent
#B847E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E336E

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

Preview Lab → · Contrast checker → · Palette generator →

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