#1E2294#1E2294

#1E2294 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.179 H 270.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1E2294
RGBrgb(30, 34, 148)
HSLhsl(238, 66%, 35%)
HSVhsv(238, 80%, 58%)
CMYKcmyk(79.7%, 77%, 0%, 42%)
CIE-LABlab(22.15, 39.51, -61.95)
CIE-LCHlch(22.15, 73.47, 302.53°)
OKLaboklab(34.56% 0.0023 -0.1794)
OKLCHoklch(34.56% 0.179 270.7)
XYZxyz(6.4509, 3.5575, 28.3579)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2294 #94901E
analogous
#1E5D94 #1E2294 #551E94
triadic
#1E2294 #941E22 #22941E
tetradic
#1E2294 #941E5D #94901E #1E9455
square
#1E2294 #941E5D #94901E #1E9455
split-complementary
#1E2294 #94551E #5D941E
monochromatic
#090B2E #141661 #1E2294 #282EC7 #5155DC

Accessibility & contrast

On white

12.27
#1E2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2294
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2294#FFFFFF#000000##FFFFFF
##1E22941.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2294;
/* rgb */ color: rgb(30, 34, 148);
/* oklch */ color: oklch(34.6% 0.179 270.7);
Tailwind
colors: {
  custom: {
    50: '#705fb5',
    500: '#1e2294',
    950: '#000000',
  },
}
SCSS
$custom: #1e2294;
$custom-light: #705fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2294",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 237.966,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34564,
    "c": 0.1794,
    "h": 270.7
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#1E2294
secondary
#BFBB4F
accent
#E33FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E2294

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

Preview Lab → · Contrast checker → · Palette generator →

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