#1E2EA6#1E2EA6

#1E2EA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.190 H 268.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1E2EA6
RGBrgb(30, 46, 166)
HSLhsl(233, 69%, 38%)
HSVhsv(233, 82%, 65%)
CMYKcmyk(81.9%, 72.3%, 0%, 34.9%)
CIE-LABlab(26.68, 38.67, -65.45)
CIE-LCHlch(26.68, 76.02, 300.58°)
OKLaboklab(38.38% -0.0049 -0.1897)
OKLCHoklch(38.38% 0.19 268.5)
XYZxyz(8.3930, 4.9822, 36.5883)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2EA6 #A6961E
analogous
#1E72A6 #1E2EA6 #521EA6
triadic
#1E2EA6 #A61E2E #2EA61E
tetradic
#1E2EA6 #A61E72 #A6961E #1EA652
square
#1E2EA6 #A61E72 #A6961E #1EA652
split-complementary
#1E2EA6 #A6521E #72A61E
monochromatic
#0B113E #152072 #1E2EA6 #293ED8 #5D6CE2

Accessibility & contrast

On white

10.52
#1E2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2EA6
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2EA6#FFFFFF#000000##FFFFFF
##1E2EA61.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e2ea6;
/* rgb */ color: rgb(30, 46, 166);
/* oklch */ color: oklch(38.4% 0.190 268.5);
Tailwind
colors: {
  custom: {
    50: '#7467c2',
    500: '#1e2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #1e2ea6;
$custom-light: #7467c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2ea6",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 232.941,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3838,
    "c": 0.18972,
    "h": 268.5
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#1E2EA6
secondary
#C6B95A
accent
#D73CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1E2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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