#1E368A#1E368A

#1E368A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.143 H 266.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#1E368A
RGBrgb(30, 54, 138)
HSLhsl(227, 64%, 33%)
HSVhsv(227, 78%, 54%)
CMYKcmyk(78.3%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.01, 22.78, -49.42)
CIE-LCHlch(26.01, 54.41, 294.75°)
OKLaboklab(37.07% -0.0078 -0.1427)
OKLCHoklch(37.07% 0.143 266.9)
XYZxyz(6.4404, 4.7486, 24.6170)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E368A #8A721E
analogous
#1E6C8A #1E368A #3C1E8A
triadic
#1E368A #8A1E36 #368A1E
tetradic
#1E368A #8A1E6C #8A721E #1E8A3C
square
#1E368A #8A1E6C #8A721E #1E8A3C
split-complementary
#1E368A #8A3C1E #6C8A1E
monochromatic
#080F25 #132258 #1E368A #294ABC #4B6AD8

Accessibility & contrast

On white

10.77
#1E368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E368A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E368A#FFFFFF#000000##FFFFFF
##1E368A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e368a;
/* rgb */ color: rgb(30, 54, 138);
/* oklch */ color: oklch(37.1% 0.143 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6cad',
    500: '#1e368a',
    950: '#000000',
  },
}
SCSS
$custom: #1e368a;
$custom-light: #6c6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e368a",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 226.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37072,
    "c": 0.14294,
    "h": 266.9
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#1E368A
secondary
#BAA14A
accent
#C241E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E368A

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

Preview Lab → · Contrast checker → · Palette generator →

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