#1E337C#1E337C

#1E337C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.127 H 267.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1E337C
RGBrgb(30, 51, 124)
HSLhsl(227, 61%, 30%)
HSVhsv(227, 76%, 49%)
CMYKcmyk(75.8%, 58.9%, 0%, 51.4%)
CIE-LABlab(23.99, 19.31, -43.92)
CIE-LCHlch(23.99, 47.98, 293.73°)
OKLaboklab(35.2% -0.006 -0.1266)
OKLCHoklch(35.2% 0.127 267.3)
XYZxyz(5.3561, 4.0983, 19.5737)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E337C #7C671E
analogous
#1E627C #1E337C #381E7C
triadic
#1E337C #7C1E33 #337C1E
tetradic
#1E337C #7C1E62 #7C671E #1E7C38
square
#1E337C #7C1E62 #7C671E #1E7C38
split-complementary
#1E337C #7C381E #627C1E
monochromatic
#060A19 #121F4B #1E337C #2A47AD #4363D1

Accessibility & contrast

On white

11.54
#1E337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E337C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E337C#FFFFFF#000000##FFFFFF
##1E337C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e337c;
/* rgb */ color: rgb(30, 51, 124);
/* oklch */ color: oklch(35.2% 0.127 267.3);
Tailwind
colors: {
  custom: {
    50: '#686aa3',
    500: '#1e337c',
    950: '#000000',
  },
}
SCSS
$custom: #1e337c;
$custom-light: #686aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e337c",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 226.596,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.12678,
    "h": 267.3
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#1E337C
secondary
#AF9846
accent
#C044E4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E337C

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

Preview Lab → · Contrast checker → · Palette generator →

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