#1E2E80#1E2E80

#1E2E80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.139 H 269.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1E2E80
RGBrgb(30, 46, 128)
HSLhsl(230, 62%, 31%)
HSVhsv(230, 77%, 50%)
CMYKcmyk(76.6%, 64.1%, 0%, 49.8%)
CIE-LABlab(22.96, 24.38, -48.14)
CIE-LCHlch(22.96, 53.96, 296.86°)
OKLaboklab(34.53% -0.0021 -0.1391)
OKLCHoklch(34.53% 0.139 269.1)
XYZxyz(5.4074, 3.7879, 20.8641)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E80 #80701E
analogous
#1E5F80 #1E2E80 #3F1E80
triadic
#1E2E80 #801E2E #2E801E
tetradic
#1E2E80 #801E5F #80701E #1E803F
square
#1E2E80 #801E5F #80701E #1E803F
split-complementary
#1E2E80 #803F1E #5F801E
monochromatic
#070A1D #121C4E #1E2E80 #2A40B2 #455CD3

Accessibility & contrast

On white

11.95
#1E2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E80
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E80#FFFFFF#000000##FFFFFF
##1E2E801.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2e80;
/* rgb */ color: rgb(30, 46, 128);
/* oklch */ color: oklch(34.5% 0.139 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a66a6',
    500: '#1e2e80',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e80;
$custom-light: #6a66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e80",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 230.204,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34535,
    "c": 0.1391,
    "h": 269.1
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#1E2E80
secondary
#B3A147
accent
#CB43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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