#1E2AA7#1E2AA7

#1E2AA7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.195 H 268.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2AA7
RGBrgb(30, 42, 167)
HSLhsl(235, 70%, 39%)
HSVhsv(235, 82%, 65%)
CMYKcmyk(82%, 74.9%, 0%, 34.5%)
CIE-LABlab(25.92, 41.44, -67.31)
CIE-LCHlch(25.92, 79.04, 301.62°)
OKLaboklab(37.87% -0.0036 -0.195)
OKLCHoklch(37.87% 0.195 268.9)
XYZxyz(8.3360, 4.7210, 37.0236)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2AA7 #A79B1E
analogous
#1E6EA7 #1E2AA7 #571EA7
triadic
#1E2AA7 #A71E2A #2AA71E
tetradic
#1E2AA7 #A71E6E #A79B1E #1EA757
square
#1E2AA7 #A71E6E #A79B1E #1EA757
split-complementary
#1E2AA7 #A7571E #6EA71E
monochromatic
#0B103F #151D73 #1E2AA7 #2A39D9 #5D69E2

Accessibility & contrast

On white

10.80
#1E2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E2AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2AA7
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2AA7#FFFFFF#000000##FFFFFF
##1E2AA71.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e2aa7;
/* rgb */ color: rgb(30, 42, 167);
/* oklch */ color: oklch(37.9% 0.195 268.9);
Tailwind
colors: {
  custom: {
    50: '#7565c2',
    500: '#1e2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1e2aa7;
$custom-light: #7565c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2aa7",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 234.745,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.19507,
    "h": 268.9
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#1E2AA7
secondary
#C6BD5B
accent
#DD3BEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #1E2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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