#1E4294#1E4294

#1E4294 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.142 H 263.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1E4294
RGBrgb(30, 66, 148)
HSLhsl(222, 66%, 35%)
HSVhsv(222, 80%, 58%)
CMYKcmyk(79.7%, 55.4%, 0%, 42%)
CIE-LABlab(30.18, 18.48, -48.79)
CIE-LCHlch(30.18, 52.17, 290.74°)
OKLaboklab(40.47% -0.016 -0.1407)
OKLCHoklch(40.47% 0.142 263.5)
XYZxyz(7.8270, 6.3097, 28.8166)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4294 #94701E
analogous
#1E7D94 #1E4294 #351E94
triadic
#1E4294 #941E42 #42941E
tetradic
#1E4294 #941E7D #94701E #1E9435
square
#1E4294 #941E7D #94701E #1E9435
split-complementary
#1E4294 #94351E #7D941E
monochromatic
#09152E #142B61 #1E4294 #2859C7 #517BDC

Accessibility & contrast

On white

9.28
#1E4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1E4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4294
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4294#FFFFFF#000000##FFFFFF
##1E42941.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4294;
/* rgb */ color: rgb(30, 66, 148);
/* oklch */ color: oklch(40.5% 0.142 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d75b4',
    500: '#1e4294',
    950: '#000000',
  },
}
SCSS
$custom: #1e4294;
$custom-light: #6d75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4294",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 221.695,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.14159,
    "h": 263.5
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#1E4294
secondary
#BF9D4F
accent
#B53FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4294

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

Preview Lab → · Contrast checker → · Palette generator →

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