#1E2D71#1E2D71

#1E2D71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.119 H 269.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1E2D71
RGBrgb(30, 45, 113)
HSLhsl(229, 58%, 28%)
HSVhsv(229, 73%, 44%)
CMYKcmyk(73.5%, 60.2%, 0%, 55.7%)
CIE-LABlab(21.37, 19.16, -41.17)
CIE-LCHlch(21.37, 45.41, 294.96°)
OKLaboklab(32.95% -0.0013 -0.1186)
OKLCHoklch(32.95% 0.119 269.4)
XYZxyz(4.4534, 3.3446, 16.0305)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D71 #71621E
analogous
#1E5671 #1E2D71 #391E71
triadic
#1E2D71 #711E2D #2D711E
tetradic
#1E2D71 #711E56 #71621E #1E7139
square
#1E2D71 #711E56 #71621E #1E7139
split-complementary
#1E2D71 #71391E #56711E
monochromatic
#060A18 #111A41 #1E2D71 #2B40A1 #3E57CC

Accessibility & contrast

On white

12.58
#1E2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D71
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D71#FFFFFF#000000##FFFFFF
##1E2D711.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2d71;
/* rgb */ color: rgb(30, 45, 113);
/* oklch */ color: oklch(33.0% 0.119 269.4);
Tailwind
colors: {
  custom: {
    50: '#66659a',
    500: '#1e2d71',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d71;
$custom-light: #66659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d71",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 229.157,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32951,
    "c": 0.11865,
    "h": 269.4
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#1E2D71
secondary
#A59446
accent
#C547E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1E2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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