#1E267E#1E267E

#1E267E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.146 H 271.4°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E267E
RGBrgb(30, 38, 126)
HSLhsl(235, 62%, 31%)
HSVhsv(235, 76%, 49%)
CMYKcmyk(76.2%, 69.8%, 0%, 50.6%)
CIE-LABlab(20.70, 29.05, -50.56)
CIE-LCHlch(20.70, 58.31, 299.88°)
OKLaboklab(32.83% 0.0035 -0.1462)
OKLCHoklch(32.83% 0.146 271.4)
XYZxyz(4.9932, 3.1681, 20.0830)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E267E #7E761E
analogous
#1E567E #1E267E #461E7E
triadic
#1E267E #7E1E26 #267E1E
tetradic
#1E267E #7E1E56 #7E761E #1E7E46
square
#1E267E #7E1E56 #7E761E #1E7E46
split-complementary
#1E267E #7E461E #567E1E
monochromatic
#06081B #12174D #1E267E #2A35AF #4450D2

Accessibility & contrast

On white

12.85
#1E267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E267E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E267E#FFFFFF#000000##FFFFFF
##1E267E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e267e;
/* rgb */ color: rgb(30, 38, 126);
/* oklch */ color: oklch(32.8% 0.146 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a60a4',
    500: '#1e267e',
    950: '#000000',
  },
}
SCSS
$custom: #1e267e;
$custom-light: #6a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e267e",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 235,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32826,
    "c": 0.14628,
    "h": 271.4
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#1E267E
secondary
#B1A847
accent
#D743E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E267E

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

Preview Lab → · Contrast checker → · Palette generator →

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