#1E368E#1E368E

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

Color values

HEX#1E368E
RGBrgb(30, 54, 142)
HSLhsl(227, 65%, 34%)
HSVhsv(227, 79%, 56%)
CMYKcmyk(78.9%, 62%, 0%, 44.3%)
CIE-LABlab(26.35, 24.36, -51.33)
CIE-LCHlch(26.35, 56.82, 295.39°)
OKLaboklab(37.44% -0.0077 -0.1483)
OKLCHoklch(37.44% 0.149 267)
XYZxyz(6.7354, 4.8666, 26.1703)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E368E #8E761E
analogous
#1E6E8E #1E368E #3E1E8E
triadic
#1E368E #8E1E36 #368E1E
tetradic
#1E368E #8E1E6E #8E761E #1E8E3E
square
#1E368E #8E1E6E #8E761E #1E8E3E
split-complementary
#1E368E #8E3E1E #6E8E1E
monochromatic
#091029 #13235B #1E368E #2949C1 #4D6BD9

Accessibility & contrast

On white

10.64
#1E368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E368E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E368E#FFFFFF#000000##FFFFFF
##1E368E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e368e;
/* rgb */ color: rgb(30, 54, 142);
/* oklch */ color: oklch(37.4% 0.149 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d6cb0',
    500: '#1e368e',
    950: '#000000',
  },
}
SCSS
$custom: #1e368e;
$custom-light: #6d6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e368e",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 227.143,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.14855,
    "h": 267
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#1E368E
secondary
#BCA44C
accent
#C440E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E368E

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

Preview Lab → · Contrast checker → · Palette generator →

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