#1E33A7#1E33A7

#1E33A7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.186 H 267.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1E33A7
RGBrgb(30, 51, 167)
HSLhsl(231, 70%, 39%)
HSVhsv(231, 82%, 65%)
CMYKcmyk(82%, 69.5%, 0%, 34.5%)
CIE-LABlab(27.93, 35.90, -64.00)
CIE-LCHlch(27.93, 73.38, 299.29°)
OKLaboklab(39.31% -0.0071 -0.1854)
OKLCHoklch(39.31% 0.186 267.8)
XYZxyz(8.6919, 5.4327, 37.1422)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E33A7 #A7921E
analogous
#1E77A7 #1E33A7 #4D1EA7
triadic
#1E33A7 #A71E33 #33A71E
tetradic
#1E33A7 #A71E77 #A7921E #1EA74D
square
#1E33A7 #A71E77 #A7921E #1EA74D
split-complementary
#1E33A7 #A74D1E #77A71E
monochromatic
#0B133F #152373 #1E33A7 #2A44D9 #5D72E2

Accessibility & contrast

On white

10.06
#1E33A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1E33A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E33A7
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E33A7#FFFFFF#000000##FFFFFF
##1E33A71.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e33a7;
/* rgb */ color: rgb(30, 51, 167);
/* oklch */ color: oklch(39.3% 0.186 267.8);
Tailwind
colors: {
  custom: {
    50: '#746bc2',
    500: '#1e33a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e33a7;
$custom-light: #746bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e33a7",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 230.803,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.18556,
    "h": 267.8
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#1E33A7
secondary
#C6B65B
accent
#D13BEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1E33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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