#1E267D#1E267D

#1E267D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.145 H 271.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1E267D
RGBrgb(30, 38, 125)
HSLhsl(235, 61%, 30%)
HSVhsv(235, 76%, 49%)
CMYKcmyk(76%, 69.6%, 0%, 51%)
CIE-LABlab(20.61, 28.67, -50.09)
CIE-LCHlch(20.61, 57.72, 299.79°)
OKLaboklab(32.72% 0.0036 -0.1449)
OKLCHoklch(32.72% 0.145 271.4)
XYZxyz(4.9289, 3.1424, 19.7448)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E267D #7D751E
analogous
#1E567D #1E267D #451E7D
triadic
#1E267D #7D1E26 #267D1E
tetradic
#1E267D #7D1E56 #7D751E #1E7D45
square
#1E267D #7D1E56 #7D751E #1E7D45
split-complementary
#1E267D #7D451E #567D1E
monochromatic
#06081A #12174C #1E267D #2A35AE #434FD2

Accessibility & contrast

On white

12.89
#1E267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E267D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E267D#FFFFFF#000000##FFFFFF
##1E267D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e267d;
/* rgb */ color: rgb(30, 38, 125);
/* oklch */ color: oklch(32.7% 0.145 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a60a4',
    500: '#1e267d',
    950: '#000000',
  },
}
SCSS
$custom: #1e267d;
$custom-light: #6a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e267d",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 234.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.14491,
    "h": 271.4
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#1E267D
secondary
#B0A746
accent
#D743E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E267D

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

Preview Lab → · Contrast checker → · Palette generator →

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