#1E368F#1E368F

#1E368F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.150 H 267.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1E368F
RGBrgb(30, 54, 143)
HSLhsl(227, 65%, 34%)
HSVhsv(227, 79%, 56%)
CMYKcmyk(79%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.44, 24.75, -51.81)
CIE-LCHlch(26.44, 57.42, 295.54°)
OKLaboklab(37.53% -0.0077 -0.1497)
OKLCHoklch(37.53% 0.15 267)
XYZxyz(6.8108, 4.8968, 26.5675)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E368F #8F771E
analogous
#1E6F8F #1E368F #3F1E8F
triadic
#1E368F #8F1E36 #368F1E
tetradic
#1E368F #8F1E6F #8F771E #1E8F3F
square
#1E368F #8F1E6F #8F771E #1E8F3F
split-complementary
#1E368F #8F3F1E #6F8F1E
monochromatic
#09102A #13235C #1E368F #2949C2 #4E6BDA

Accessibility & contrast

On white

10.61
#1E368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E368F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E368F#FFFFFF#000000##FFFFFF
##1E368F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e368f;
/* rgb */ color: rgb(30, 54, 143);
/* oklch */ color: oklch(37.5% 0.150 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d6cb1',
    500: '#1e368f',
    950: '#000000',
  },
}
SCSS
$custom: #1e368f;
$custom-light: #6d6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e368f",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 227.257,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.14995,
    "h": 267
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#1E368F
secondary
#BCA54C
accent
#C440E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E368F

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

Preview Lab → · Contrast checker → · Palette generator →

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