#1E4B98#1E4B98

#1E4B98 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.136 H 260.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1E4B98
RGBrgb(30, 75, 152)
HSLhsl(218, 67%, 36%)
HSVhsv(218, 80%, 60%)
CMYKcmyk(80.3%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.08, 13.93, -46.53)
CIE-LCHlch(33.08, 48.57, 286.67°)
OKLaboklab(42.77% -0.0226 -0.1339)
OKLCHoklch(42.77% 0.136 260.4)
XYZxyz(8.7169, 7.5741, 30.7022)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B98 #986B1E
analogous
#1E8898 #1E4B98 #2E1E98
triadic
#1E4B98 #981E4B #4B981E
tetradic
#1E4B98 #981E88 #986B1E #1E982E
square
#1E4B98 #981E88 #986B1E #1E982E
split-complementary
#1E4B98 #982E1E #88981E
monochromatic
#0A1932 #143265 #1E4B98 #2864CB #5386DD

Accessibility & contrast

On white

8.35
#1E4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1E4B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B98
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B98#FFFFFF#000000##FFFFFF
##1E4B981.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4b98;
/* rgb */ color: rgb(30, 75, 152);
/* oklch */ color: oklch(42.8% 0.136 260.4);
Tailwind
colors: {
  custom: {
    50: '#6e7cb7',
    500: '#1e4b98',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b98;
$custom-light: #6e7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b98",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 217.869,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.13575,
    "h": 260.4
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#1E4B98
secondary
#C09751
accent
#AA3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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