#1E2D72#1E2D72

#1E2D72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.120 H 269.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1E2D72
RGBrgb(30, 45, 114)
HSLhsl(229, 58%, 28%)
HSVhsv(229, 74%, 45%)
CMYKcmyk(73.7%, 60.5%, 0%, 55.3%)
CIE-LABlab(21.46, 19.56, -41.67)
CIE-LCHlch(21.46, 46.04, 295.14°)
OKLaboklab(33.04% -0.0013 -0.1201)
OKLCHoklch(33.04% 0.12 269.4)
XYZxyz(4.5100, 3.3672, 16.3286)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D72 #72631E
analogous
#1E5772 #1E2D72 #391E72
triadic
#1E2D72 #721E2D #2D721E
tetradic
#1E2D72 #721E57 #72631E #1E7239
square
#1E2D72 #721E57 #72631E #1E7239
split-complementary
#1E2D72 #72391E #57721E
monochromatic
#060A18 #111A42 #1E2D72 #2B40A2 #3E58CC

Accessibility & contrast

On white

12.55
#1E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D72
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D72#FFFFFF#000000##FFFFFF
##1E2D721.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2d72;
/* rgb */ color: rgb(30, 45, 114);
/* oklch */ color: oklch(33.0% 0.120 269.4);
Tailwind
colors: {
  custom: {
    50: '#66659b',
    500: '#1e2d72',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d72;
$custom-light: #66659b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d72",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 229.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.12013,
    "h": 269.4
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#1E2D72
secondary
#A69546
accent
#C646E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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