#1E2C6E#1E2C6E

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

Color values

HEX#1E2C6E
RGBrgb(30, 44, 110)
HSLhsl(230, 57%, 27%)
HSVhsv(230, 73%, 43%)
CMYKcmyk(72.7%, 60%, 0%, 56.9%)
CIE-LABlab(20.84, 18.68, -40.11)
CIE-LCHlch(20.84, 44.24, 294.97°)
OKLaboklab(32.47% -0.0005 -0.1155)
OKLCHoklch(32.47% 0.116 269.7)
XYZxyz(4.2496, 3.2028, 15.1431)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C6E #6E601E
analogous
#1E546E #1E2C6E #381E6E
triadic
#1E2C6E #6E1E2C #2C6E1E
tetradic
#1E2C6E #6E1E54 #6E601E #1E6E38
square
#1E2C6E #6E1E54 #6E601E #1E6E38
split-complementary
#1E2C6E #6E381E #546E1E
monochromatic
#070A18 #11193E #1E2C6E #2B3F9E #3C55CA

Accessibility & contrast

On white

12.80
#1E2C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2C6E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C6E#FFFFFF#000000##FFFFFF
##1E2C6E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2c6e;
/* rgb */ color: rgb(30, 44, 110);
/* oklch */ color: oklch(32.5% 0.116 269.7);
Tailwind
colors: {
  custom: {
    50: '#656498',
    500: '#1e2c6e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c6e;
$custom-light: #656498;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c6e",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 229.5,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.11553,
    "h": 269.7
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#1E2C6E
secondary
#A29246
accent
#C647E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1E2C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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