#1E368C#1E368C

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

Color values

HEX#1E368C
RGBrgb(30, 54, 140)
HSLhsl(227, 65%, 33%)
HSVhsv(227, 79%, 55%)
CMYKcmyk(78.6%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.18, 23.57, -50.38)
CIE-LCHlch(26.18, 55.62, 295.08°)
OKLaboklab(37.25% -0.0078 -0.1456)
OKLCHoklch(37.25% 0.146 266.9)
XYZxyz(6.5866, 4.8071, 25.3866)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E368C #8C741E
analogous
#1E6D8C #1E368C #3D1E8C
triadic
#1E368C #8C1E36 #368C1E
tetradic
#1E368C #8C1E6D #8C741E #1E8C3D
square
#1E368C #8C1E6D #8C741E #1E8C3D
split-complementary
#1E368C #8C3D1E #6D8C1E
monochromatic
#080F27 #13235A #1E368C #2949BE #4C6BD9

Accessibility & contrast

On white

10.71
#1E368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E368C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E368C#FFFFFF#000000##FFFFFF
##1E368C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e368c;
/* rgb */ color: rgb(30, 54, 140);
/* oklch */ color: oklch(37.3% 0.146 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6cae',
    500: '#1e368c',
    950: '#000000',
  },
}
SCSS
$custom: #1e368c;
$custom-light: #6c6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e368c",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 226.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.14576,
    "h": 266.9
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#1E368C
secondary
#BBA34B
accent
#C340E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E368C

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

Preview Lab → · Contrast checker → · Palette generator →

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