#1E458B#1E458B

#1E458B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.125 H 261.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#1E458B
RGBrgb(30, 69, 139)
HSLhsl(219, 64%, 33%)
HSVhsv(219, 78%, 55%)
CMYKcmyk(78.4%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.39, 12.80, -42.93)
CIE-LCHlch(30.39, 44.79, 286.60°)
OKLaboklab(40.41% -0.0195 -0.1234)
OKLCHoklch(40.41% 0.125 261)
XYZxyz(7.3221, 6.3955, 25.2696)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E458B #8B641E
analogous
#1E7B8B #1E458B #2D1E8B
triadic
#1E458B #8B1E45 #458B1E
tetradic
#1E458B #8B1E7B #8B641E #1E8B2D
square
#1E458B #8B1E7B #8B641E #1E8B2D
split-complementary
#1E458B #8B2D1E #7B8B1E
monochromatic
#081326 #132C59 #1E458B #295EBD #4B7ED8

Accessibility & contrast

On white

9.21
#1E458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1E458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E458B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E458B#FFFFFF#000000##FFFFFF
##1E458B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e458b;
/* rgb */ color: rgb(30, 69, 139);
/* oklch */ color: oklch(40.4% 0.125 261.0);
Tailwind
colors: {
  custom: {
    50: '#6b78ad',
    500: '#1e458b',
    950: '#000000',
  },
}
SCSS
$custom: #1e458b;
$custom-light: #6b78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e458b",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 218.532,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40412,
    "c": 0.12492,
    "h": 261
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#1E458B
secondary
#BB924A
accent
#AC40E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E458B

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

Preview Lab → · Contrast checker → · Palette generator →

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