#1E2770#1E2770

#1E2770 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.125 H 271.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1E2770
RGBrgb(30, 39, 112)
HSLhsl(233, 58%, 28%)
HSVhsv(233, 73%, 44%)
CMYKcmyk(73.2%, 65.2%, 0%, 56.1%)
CIE-LABlab(19.62, 23.00, -43.38)
CIE-LCHlch(19.62, 49.10, 297.93°)
OKLaboklab(31.62% 0.0037 -0.1252)
OKLCHoklch(31.62% 0.125 271.7)
XYZxyz(4.1846, 2.8965, 15.6646)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2770 #70671E
analogous
#1E5070 #1E2770 #3E1E70
triadic
#1E2770 #701E27 #27701E
tetradic
#1E2770 #701E50 #70671E #1E703E
square
#1E2770 #701E50 #70671E #1E703E
split-complementary
#1E2770 #703E1E #50701E
monochromatic
#060818 #111640 #1E2770 #2B38A0 #3D4DCB

Accessibility & contrast

On white

13.30
#1E2770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E2770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2770
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2770#FFFFFF#000000##FFFFFF
##1E27701.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2770;
/* rgb */ color: rgb(30, 39, 112);
/* oklch */ color: oklch(31.6% 0.125 271.7);
Tailwind
colors: {
  custom: {
    50: '#66619a',
    500: '#1e2770',
    950: '#000000',
  },
}
SCSS
$custom: #1e2770;
$custom-light: #66619a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2770",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 233.415,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.12525,
    "h": 271.7
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#1E2770
secondary
#A49A46
accent
#D047E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2770

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

Preview Lab → · Contrast checker → · Palette generator →

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