#1E3BA8#1E3BA8

#1E3BA8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.178 H 266.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1E3BA8
RGBrgb(30, 59, 168)
HSLhsl(227, 70%, 39%)
HSVhsv(227, 82%, 66%)
CMYKcmyk(82.1%, 64.9%, 0%, 34.1%)
CIE-LABlab(29.99, 31.07, -61.23)
CIE-LCHlch(29.99, 68.66, 296.90°)
OKLaboklab(40.84% -0.011 -0.1773)
OKLCHoklch(40.84% 0.178 266.4)
XYZxyz(9.1648, 6.2300, 37.7577)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3BA8 #A88B1E
analogous
#1E80A8 #1E3BA8 #461EA8
triadic
#1E3BA8 #A81E3B #3BA81E
tetradic
#1E3BA8 #A81E80 #A88B1E #1EA846
square
#1E3BA8 #A81E80 #A88B1E #1EA846
split-complementary
#1E3BA8 #A8461E #80A81E
monochromatic
#0B1740 #152974 #1E3BA8 #2A4FD9 #5E7AE2

Accessibility & contrast

On white

9.35
#1E3BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1E3BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3BA8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3BA8#FFFFFF#000000##FFFFFF
##1E3BA81.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e3ba8;
/* rgb */ color: rgb(30, 59, 168);
/* oklch */ color: oklch(40.8% 0.178 266.4);
Tailwind
colors: {
  custom: {
    50: '#7370c3',
    500: '#1e3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #1e3ba8;
$custom-light: #7370c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3ba8",
  "rgb": {
    "r": 30,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 227.391,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.17762,
    "h": 266.4
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#1E3BA8
secondary
#C7B05B
accent
#C73BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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