#1E337B#1E337B

#1E337B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.125 H 267.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#1E337B
RGBrgb(30, 51, 123)
HSLhsl(226, 61%, 30%)
HSVhsv(226, 76%, 48%)
CMYKcmyk(75.6%, 58.5%, 0%, 51.8%)
CIE-LABlab(23.91, 18.91, -43.42)
CIE-LCHlch(23.91, 47.36, 293.53°)
OKLaboklab(35.11% -0.006 -0.1252)
OKLCHoklch(35.11% 0.125 267.2)
XYZxyz(5.2932, 4.0732, 19.2423)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E337B #7B661E
analogous
#1E617B #1E337B #381E7B
triadic
#1E337B #7B1E33 #337B1E
tetradic
#1E337B #7B1E61 #7B661E #1E7B38
square
#1E337B #7B1E61 #7B661E #1E7B38
split-complementary
#1E337B #7B381E #617B1E
monochromatic
#060A19 #121F4A #1E337B #2A47AC #4263D1

Accessibility & contrast

On white

11.57
#1E337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E337B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E337B#FFFFFF#000000##FFFFFF
##1E337B1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e337b;
/* rgb */ color: rgb(30, 51, 123);
/* oklch */ color: oklch(35.1% 0.125 267.2);
Tailwind
colors: {
  custom: {
    50: '#686aa2',
    500: '#1e337b',
    950: '#000000',
  },
}
SCSS
$custom: #1e337b;
$custom-light: #686aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e337b",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 226.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.12532,
    "h": 267.2
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#1E337B
secondary
#AE9746
accent
#C044E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E337B

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

Preview Lab → · Contrast checker → · Palette generator →

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