#1E2C6D#1E2C6D

#1E2C6D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.114 H 269.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1E2C6D
RGBrgb(30, 44, 109)
HSLhsl(229, 57%, 27%)
HSVhsv(229, 72%, 43%)
CMYKcmyk(72.5%, 59.6%, 0%, 57.3%)
CIE-LABlab(20.76, 18.28, -39.60)
CIE-LCHlch(20.76, 43.61, 294.78°)
OKLaboklab(32.38% -0.0006 -0.114)
OKLCHoklch(32.38% 0.114 269.7)
XYZxyz(4.1955, 3.1811, 14.8579)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C6D #6D5F1E
analogous
#1E546D #1E2C6D #371E6D
triadic
#1E2C6D #6D1E2C #2C6D1E
tetradic
#1E2C6D #6D1E54 #6D5F1E #1E6D37
square
#1E2C6D #6D1E54 #6D5F1E #1E6D37
split-complementary
#1E2C6D #6D371E #546D1E
monochromatic
#070A18 #11193D #1E2C6D #2B3F9D #3C55C9

Accessibility & contrast

On white

12.83
#1E2C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C6D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C6D#FFFFFF#000000##FFFFFF
##1E2C6D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2c6d;
/* rgb */ color: rgb(30, 44, 109);
/* oklch */ color: oklch(32.4% 0.114 269.7);
Tailwind
colors: {
  custom: {
    50: '#656497',
    500: '#1e2c6d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c6d;
$custom-light: #656497;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c6d",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 229.367,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.11403,
    "h": 269.7
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#1E2C6D
secondary
#A19145
accent
#C548E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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