#1E2E72#1E2E72

#1E2E72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.119 H 268.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1E2E72
RGBrgb(30, 46, 114)
HSLhsl(229, 58%, 28%)
HSVhsv(229, 74%, 45%)
CMYKcmyk(73.7%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.74, 18.85, -41.21)
CIE-LCHlch(21.74, 45.32, 294.57°)
OKLaboklab(33.25% -0.0022 -0.1187)
OKLCHoklch(33.25% 0.119 268.9)
XYZxyz(4.5486, 3.4445, 16.3415)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E72 #72621E
analogous
#1E5872 #1E2E72 #381E72
triadic
#1E2E72 #721E2E #2E721E
tetradic
#1E2E72 #721E58 #72621E #1E7238
square
#1E2E72 #721E58 #72621E #1E7238
split-complementary
#1E2E72 #72381E #58721E
monochromatic
#060A18 #111A42 #1E2E72 #2B42A2 #3E59CC

Accessibility & contrast

On white

12.43
#1E2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E72
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E72#FFFFFF#000000##FFFFFF
##1E2E721.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2e72;
/* rgb */ color: rgb(30, 46, 114);
/* oklch */ color: oklch(33.3% 0.119 268.9);
Tailwind
colors: {
  custom: {
    50: '#66669b',
    500: '#1e2e72',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e72;
$custom-light: #66669b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e72",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 228.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33252,
    "c": 0.11877,
    "h": 268.9
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#1E2E72
secondary
#A69446
accent
#C446E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1E2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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