#1E267C#1E267C

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

Color values

HEX#1E267C
RGBrgb(30, 38, 124)
HSLhsl(235, 61%, 30%)
HSVhsv(235, 76%, 49%)
CMYKcmyk(75.8%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.51, 28.30, -49.62)
CIE-LCHlch(20.51, 57.12, 299.69°)
OKLaboklab(32.62% 0.0037 -0.1435)
OKLCHoklch(32.62% 0.144 271.5)
XYZxyz(4.8654, 3.1170, 19.4101)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E267C #7C741E
analogous
#1E557C #1E267C #451E7C
triadic
#1E267C #7C1E26 #267C1E
tetradic
#1E267C #7C1E55 #7C741E #1E7C45
square
#1E267C #7C1E55 #7C741E #1E7C45
split-complementary
#1E267C #7C451E #557C1E
monochromatic
#060819 #12174B #1E267C #2A35AD #434FD1

Accessibility & contrast

On white

12.94
#1E267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E267C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E267C#FFFFFF#000000##FFFFFF
##1E267C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e267c;
/* rgb */ color: rgb(30, 38, 124);
/* oklch */ color: oklch(32.6% 0.144 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a60a3',
    500: '#1e267c',
    950: '#000000',
  },
}
SCSS
$custom: #1e267c;
$custom-light: #6a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e267c",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 234.894,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32621,
    "c": 0.14353,
    "h": 271.5
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E267C

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

Preview Lab → · Contrast checker → · Palette generator →

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