#1E267B#1E267B

#1E267B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.142 H 271.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1E267B
RGBrgb(30, 38, 123)
HSLhsl(235, 61%, 30%)
HSVhsv(235, 76%, 48%)
CMYKcmyk(75.6%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.41, 27.92, -49.14)
CIE-LCHlch(20.41, 56.52, 299.60°)
OKLaboklab(32.52% 0.0037 -0.1421)
OKLCHoklch(32.52% 0.142 271.5)
XYZxyz(4.8025, 3.0918, 19.0787)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E267B #7B731E
analogous
#1E547B #1E267B #451E7B
triadic
#1E267B #7B1E26 #267B1E
tetradic
#1E267B #7B1E54 #7B731E #1E7B45
square
#1E267B #7B1E54 #7B731E #1E7B45
split-complementary
#1E267B #7B451E #547B1E
monochromatic
#060819 #12174A #1E267B #2A35AC #424FD1

Accessibility & contrast

On white

12.98
#1E267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E267B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E267B#FFFFFF#000000##FFFFFF
##1E267B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e267b;
/* rgb */ color: rgb(30, 38, 123);
/* oklch */ color: oklch(32.5% 0.142 271.5);
Tailwind
colors: {
  custom: {
    50: '#6960a2',
    500: '#1e267b',
    950: '#000000',
  },
}
SCSS
$custom: #1e267b;
$custom-light: #6960a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e267b",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 234.839,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.14215,
    "h": 271.5
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#1E267B
secondary
#AEA646
accent
#D644E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E267B

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

Preview Lab → · Contrast checker → · Palette generator →

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