#1E2762#1E2762

#1E2762 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.104 H 272.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2762
RGBrgb(30, 39, 98)
HSLhsl(232, 53%, 25%)
HSVhsv(232, 69%, 38%)
CMYKcmyk(69.4%, 60.2%, 0%, 61.6%)
CIE-LABlab(18.40, 17.50, -36.24)
CIE-LCHlch(18.40, 40.24, 295.78°)
OKLaboklab(30.34% 0.0038 -0.1042)
OKLCHoklch(30.34% 0.104 272.1)
XYZxyz(3.4648, 2.6086, 11.8738)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2762 #62591E
analogous
#1E4962 #1E2762 #371E62
triadic
#1E2762 #621E27 #27621E
tetradic
#1E2762 #621E49 #62591E #1E6237
square
#1E2762 #621E49 #62591E #1E6237
split-complementary
#1E2762 #62371E #49621E
monochromatic
#070917 #101433 #1E2762 #2C3A91 #3B4CC0

Accessibility & contrast

On white

13.80
#1E2762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E2762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2762
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2762#FFFFFF#000000##FFFFFF
##1E27621.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e2762;
/* rgb */ color: rgb(30, 39, 98);
/* oklch */ color: oklch(30.3% 0.104 272.1);
Tailwind
colors: {
  custom: {
    50: '#63608f',
    500: '#1e2762',
    950: '#000000',
  },
}
SCSS
$custom: #1e2762;
$custom-light: #63608f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2762",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 232.059,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30336,
    "c": 0.10429,
    "h": 272.1
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#1E2762
secondary
#978C45
accent
#C94BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #1E2762

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

Preview Lab → · Contrast checker → · Palette generator →

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