#1E368B#1E368B

#1E368B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.144 H 266.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#1E368B
RGBrgb(30, 54, 139)
HSLhsl(227, 64%, 33%)
HSVhsv(227, 78%, 55%)
CMYKcmyk(78.4%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.09, 23.18, -49.90)
CIE-LCHlch(26.09, 55.02, 294.92°)
OKLaboklab(37.16% -0.0078 -0.1441)
OKLCHoklch(37.16% 0.144 266.9)
XYZxyz(6.5132, 4.7777, 25.0000)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E368B #8B731E
analogous
#1E6C8B #1E368B #3C1E8B
triadic
#1E368B #8B1E36 #368B1E
tetradic
#1E368B #8B1E6C #8B731E #1E8B3C
square
#1E368B #8B1E6C #8B731E #1E8B3C
split-complementary
#1E368B #8B3C1E #6C8B1E
monochromatic
#080F26 #132259 #1E368B #294ABD #4B6AD8

Accessibility & contrast

On white

10.74
#1E368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1E368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E368B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E368B#FFFFFF#000000##FFFFFF
##1E368B1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e368b;
/* rgb */ color: rgb(30, 54, 139);
/* oklch */ color: oklch(37.2% 0.144 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6cae',
    500: '#1e368b',
    950: '#000000',
  },
}
SCSS
$custom: #1e368b;
$custom-light: #6c6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e368b",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 226.789,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37162,
    "c": 0.14435,
    "h": 266.9
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#1E368B
secondary
#BBA24A
accent
#C340E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E368B

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

Preview Lab → · Contrast checker → · Palette generator →

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