#1E42BC#1E42BC

#1E42BC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.195 H 265.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1E42BC
RGBrgb(30, 66, 188)
HSLhsl(226, 72%, 43%)
HSVhsv(226, 84%, 74%)
CMYKcmyk(84%, 64.9%, 0%, 26.3%)
CIE-LABlab(33.57, 34.06, -67.24)
CIE-LCHlch(33.57, 75.38, 296.86°)
OKLaboklab(44.04% -0.015 -0.1948)
OKLCHoklch(44.04% 0.195 265.6)
XYZxyz(11.5575, 7.8019, 48.4640)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E42BC #BC981E
analogous
#1E91BC #1E42BC #491EBC
triadic
#1E42BC #BC1E42 #42BC1E
tetradic
#1E42BC #BC1E91 #BC981E #1EBC49
square
#1E42BC #BC1E91 #BC981E #1EBC49
split-complementary
#1E42BC #BC491E #91BC1E
monochromatic
#0D1D52 #162F87 #1E42BC #385EDF #6D89E8

Accessibility & contrast

On white

8.20
#1E42BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1E42BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E42BC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E42BC#FFFFFF#000000##FFFFFF
##1E42BC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e42bc;
/* rgb */ color: rgb(30, 66, 188);
/* oklch */ color: oklch(44.0% 0.195 265.6);
Tailwind
colors: {
  custom: {
    50: '#7876d1',
    500: '#1e42bc',
    950: '#000000',
  },
}
SCSS
$custom: #1e42bc;
$custom-light: #7876d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e42bc",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 226.329,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44041,
    "c": 0.19537,
    "h": 265.6
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#1E42BC
secondary
#CEB768
accent
#C639EF
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #1E42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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