#1E4DC2#1E4DC2

#1E4DC2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.190 H 263.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1E4DC2
RGBrgb(30, 77, 194)
HSLhsl(223, 73%, 44%)
HSVhsv(223, 85%, 76%)
CMYKcmyk(84.5%, 60.3%, 0%, 23.9%)
CIE-LABlab(36.89, 29.15, -65.32)
CIE-LCHlch(36.89, 71.53, 294.05°)
OKLaboklab(46.67% -0.0204 -0.189)
OKLCHoklch(46.67% 0.19 263.8)
XYZxyz(12.9234, 9.4772, 52.1766)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4DC2 #C2931E
analogous
#1E9FC2 #1E4DC2 #411EC2
triadic
#1E4DC2 #C21E4D #4DC21E
tetradic
#1E4DC2 #C21E9F #C2931E #1EC241
square
#1E4DC2 #C21E9F #C2931E #1EC241
split-complementary
#1E4DC2 #C2411E #9FC21E
monochromatic
#0E2358 #16388D #1E4DC2 #3C6BE1 #7194E9

Accessibility & contrast

On white

7.25
#1E4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1E4DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4DC2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4DC2#FFFFFF#000000##FFFFFF
##1E4DC21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1e4dc2;
/* rgb */ color: rgb(30, 77, 194);
/* oklch */ color: oklch(46.7% 0.190 263.8);
Tailwind
colors: {
  custom: {
    50: '#797ed5',
    500: '#1e4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #1e4dc2;
$custom-light: #797ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4dc2",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 222.805,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.19015,
    "h": 263.8
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#1E4DC2
secondary
#D0B36C
accent
#BB38F0
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #1E4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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