#1E4DBB#1E4DBB

#1E4DBB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.181 H 263.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#1E4DBB
RGBrgb(30, 77, 187)
HSLhsl(222, 72%, 43%)
HSVhsv(222, 84%, 73%)
CMYKcmyk(84%, 58.8%, 0%, 26.7%)
CIE-LABlab(36.31, 26.44, -62.17)
CIE-LCHlch(36.31, 67.56, 293.04°)
OKLaboklab(46.05% -0.0207 -0.1798)
OKLCHoklch(46.05% 0.181 263.4)
XYZxyz(12.1557, 9.1701, 48.1334)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4DBB #BB8C1E
analogous
#1E9CBB #1E4DBB #3D1EBB
triadic
#1E4DBB #BB1E4D #4DBB1E
tetradic
#1E4DBB #BB1E9C #BB8C1E #1EBB3D
square
#1E4DBB #BB1E9C #BB8C1E #1EBB3D
split-complementary
#1E4DBB #BB3D1E #9CBB1E
monochromatic
#0D2252 #163786 #1E4DBB #3769DF #6C91E7

Accessibility & contrast

On white

7.41
#1E4DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1E4DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4DBB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4DBB#FFFFFF#000000##FFFFFF
##1E4DBB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1e4dbb;
/* rgb */ color: rgb(30, 77, 187);
/* oklch */ color: oklch(46.1% 0.181 263.4);
Tailwind
colors: {
  custom: {
    50: '#777ed0',
    500: '#1e4dbb',
    950: '#000000',
  },
}
SCSS
$custom: #1e4dbb;
$custom-light: #777ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4dbb",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 222.038,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46054,
    "c": 0.18098,
    "h": 263.4
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#1E4DBB
secondary
#CDAF67
accent
#B839EF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #1E4DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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