#1E336F#1E336F

#1E336F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.107 H 266.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1E336F
RGBrgb(30, 51, 111)
HSLhsl(224, 57%, 28%)
HSVhsv(224, 73%, 44%)
CMYKcmyk(73%, 54.1%, 0%, 56.5%)
CIE-LABlab(22.97, 14.08, -37.30)
CIE-LCHlch(22.97, 39.87, 290.68°)
OKLaboklab(34.1% -0.007 -0.1072)
OKLCHoklch(34.1% 0.107 266.3)
XYZxyz(4.5875, 3.7909, 15.5258)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E336F #6F5A1E
analogous
#1E5C6F #1E336F #311E6F
triadic
#1E336F #6F1E33 #336F1E
tetradic
#1E336F #6F1E5C #6F5A1E #1E6F31
square
#1E336F #6F1E5C #6F5A1E #1E6F31
split-complementary
#1E336F #6F311E #5C6F1E
monochromatic
#070B18 #111D3F #1E336F #2B499F #3D62CB

Accessibility & contrast

On white

11.94
#1E336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E336F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E336F#FFFFFF#000000##FFFFFF
##1E336F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e336f;
/* rgb */ color: rgb(30, 51, 111);
/* oklch */ color: oklch(34.1% 0.107 266.3);
Tailwind
colors: {
  custom: {
    50: '#656a99',
    500: '#1e336f',
    950: '#000000',
  },
}
SCSS
$custom: #1e336f;
$custom-light: #656a99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e336f",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 224.444,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.341,
    "c": 0.1074,
    "h": 266.3
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#1E336F
secondary
#A38B46
accent
#B947E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E336F

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

Preview Lab → · Contrast checker → · Palette generator →

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