#1E2A83#1E2A83

#1E2A83 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.148 H 270.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1E2A83
RGBrgb(30, 42, 131)
HSLhsl(233, 63%, 32%)
HSVhsv(233, 77%, 51%)
CMYKcmyk(77.1%, 67.9%, 0%, 48.6%)
CIE-LABlab(22.20, 28.27, -51.27)
CIE-LCHlch(22.20, 58.55, 298.87°)
OKLaboklab(34.06% 0.0005 -0.1483)
OKLCHoklch(34.06% 0.148 270.2)
XYZxyz(5.4587, 3.5701, 21.8697)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A83 #83771E
analogous
#1E5D83 #1E2A83 #451E83
triadic
#1E2A83 #831E2A #2A831E
tetradic
#1E2A83 #831E5D #83771E #1E8345
square
#1E2A83 #831E5D #83771E #1E8345
split-complementary
#1E2A83 #83451E #5D831E
monochromatic
#070A1F #131A51 #1E2A83 #293AB5 #4758D5

Accessibility & contrast

On white

12.25
#1E2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2A83
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A83#FFFFFF#000000##FFFFFF
##1E2A831.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2a83;
/* rgb */ color: rgb(30, 42, 131);
/* oklch */ color: oklch(34.1% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b63a8',
    500: '#1e2a83',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a83;
$custom-light: #6b63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a83",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 232.871,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.1483,
    "h": 270.2
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#1E2A83
secondary
#B6A947
accent
#D242E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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