#1E279B#1E279B

#1E279B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.183 H 269.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#1E279B
RGBrgb(30, 39, 155)
HSLhsl(236, 68%, 36%)
HSVhsv(236, 81%, 61%)
CMYKcmyk(80.6%, 74.8%, 0%, 39.2%)
CIE-LABlab(23.98, 39.01, -63.23)
CIE-LCHlch(23.98, 74.30, 301.67°)
OKLaboklab(36.09% -0.0008 -0.1832)
OKLCHoklch(36.09% 0.183 269.8)
XYZxyz(7.1753, 4.0928, 31.4158)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E279B #9B921E
analogous
#1E669B #1E279B #541E9B
triadic
#1E279B #9B1E27 #279B1E
tetradic
#1E279B #9B1E66 #9B921E #1E9B54
square
#1E279B #9B1E66 #9B921E #1E9B54
split-complementary
#1E279B #9B541E #669B1E
monochromatic
#0A0D34 #141A68 #1E279B #2834CE #555FDE

Accessibility & contrast

On white

11.55
#1E279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E279B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E279B#FFFFFF#000000##FFFFFF
##1E279B1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e279b;
/* rgb */ color: rgb(30, 39, 155);
/* oklch */ color: oklch(36.1% 0.183 269.8);
Tailwind
colors: {
  custom: {
    50: '#7262ba',
    500: '#1e279b',
    950: '#000000',
  },
}
SCSS
$custom: #1e279b;
$custom-light: #7262ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e279b",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 235.68,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36091,
    "c": 0.18317,
    "h": 269.8
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#1E279B
secondary
#C2BA53
accent
#DE3DEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1E279B

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

Preview Lab → · Contrast checker → · Palette generator →

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