#1E42B2#1E42B2

#1E42B2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.182 H 265.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1E42B2
RGBrgb(30, 66, 178)
HSLhsl(225, 71%, 41%)
HSVhsv(225, 83%, 70%)
CMYKcmyk(83.1%, 62.9%, 0%, 30.2%)
CIE-LABlab(32.67, 30.26, -62.80)
CIE-LCHlch(32.67, 69.71, 295.73°)
OKLaboklab(43.1% -0.0148 -0.1818)
OKLCHoklch(43.1% 0.182 265.3)
XYZxyz(10.5167, 7.3855, 42.9821)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E42B2 #B28E1E
analogous
#1E8CB2 #1E42B2 #441EB2
triadic
#1E42B2 #B21E42 #42B21E
tetradic
#1E42B2 #B21E8C #B28E1E #1EB244
square
#1E42B2 #B21E8C #B28E1E #1EB244
split-complementary
#1E42B2 #B2441E #8CB21E
monochromatic
#0C1B49 #152F7E #1E42B2 #315BDC #6584E5

Accessibility & contrast

On white

8.48
#1E42B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1E42B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E42B2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E42B2#FFFFFF#000000##FFFFFF
##1E42B21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e42b2;
/* rgb */ color: rgb(30, 66, 178);
/* oklch */ color: oklch(43.1% 0.182 265.3);
Tailwind
colors: {
  custom: {
    50: '#7576ca',
    500: '#1e42b2',
    950: '#000000',
  },
}
SCSS
$custom: #1e42b2;
$custom-light: #7576ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1e42b2",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 225.405,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.18241,
    "h": 265.3
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#1E42B2
secondary
#CAB162
accent
#C23AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1E42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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