#1E368D#1E368D

#1E368D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.147 H 267.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1E368D
RGBrgb(30, 54, 141)
HSLhsl(227, 65%, 34%)
HSVhsv(227, 79%, 55%)
CMYKcmyk(78.7%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.26, 23.97, -50.85)
CIE-LCHlch(26.26, 56.22, 295.23°)
OKLaboklab(37.35% -0.0078 -0.1469)
OKLCHoklch(37.35% 0.147 267)
XYZxyz(6.6606, 4.8367, 25.7767)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E368D #8D751E
analogous
#1E6D8D #1E368D #3D1E8D
triadic
#1E368D #8D1E36 #368D1E
tetradic
#1E368D #8D1E6D #8D751E #1E8D3D
square
#1E368D #8D1E6D #8D751E #1E8D3D
split-complementary
#1E368D #8D3D1E #6D8D1E
monochromatic
#090F28 #13235B #1E368D #2949BF #4C6BD9

Accessibility & contrast

On white

10.67
#1E368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E368D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E368D#FFFFFF#000000##FFFFFF
##1E368D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e368d;
/* rgb */ color: rgb(30, 54, 141);
/* oklch */ color: oklch(37.3% 0.147 267.0);
Tailwind
colors: {
  custom: {
    50: '#6c6caf',
    500: '#1e368d',
    950: '#000000',
  },
}
SCSS
$custom: #1e368d;
$custom-light: #6c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e368d",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 227.027,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37345,
    "c": 0.14715,
    "h": 267
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#1E368D
secondary
#BCA34B
accent
#C440E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E368D

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

Preview Lab → · Contrast checker → · Palette generator →

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