#1E267F#1E267F

#1E267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.148 H 271.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E267F
RGBrgb(30, 38, 127)
HSLhsl(235, 62%, 31%)
HSVhsv(235, 76%, 50%)
CMYKcmyk(76.4%, 70.1%, 0%, 50.2%)
CIE-LABlab(20.80, 29.43, -51.03)
CIE-LCHlch(20.80, 58.91, 299.97°)
OKLaboklab(32.93% 0.0034 -0.1476)
OKLCHoklch(32.93% 0.148 271.3)
XYZxyz(5.0580, 3.1940, 20.4245)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E267F #7F771E
analogous
#1E567F #1E267F #471E7F
triadic
#1E267F #7F1E26 #267F1E
tetradic
#1E267F #7F1E56 #7F771E #1E7F47
square
#1E267F #7F1E56 #7F771E #1E7F47
split-complementary
#1E267F #7F471E #567F1E
monochromatic
#07081C #12174D #1E267F #2A35B1 #4450D3

Accessibility & contrast

On white

12.81
#1E267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E267F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E267F#FFFFFF#000000##FFFFFF
##1E267F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e267f;
/* rgb */ color: rgb(30, 38, 127);
/* oklch */ color: oklch(32.9% 0.148 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a60a5',
    500: '#1e267f',
    950: '#000000',
  },
}
SCSS
$custom: #1e267f;
$custom-light: #6a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e267f",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 235.052,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.14765,
    "h": 271.3
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#1E267F
secondary
#B2A947
accent
#D843E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #1E267F

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

Preview Lab → · Contrast checker → · Palette generator →

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