#1E2D6C#1E2D6C

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

Color values

HEX#1E2D6C
RGBrgb(30, 45, 108)
HSLhsl(228, 57%, 27%)
HSVhsv(228, 72%, 42%)
CMYKcmyk(72.2%, 58.3%, 0%, 57.6%)
CIE-LABlab(20.96, 17.17, -38.61)
CIE-LCHlch(20.96, 42.26, 293.97°)
OKLaboklab(32.51% -0.0015 -0.1111)
OKLCHoklch(32.51% 0.111 269.2)
XYZxyz(4.1797, 3.2351, 14.5886)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D6C #6C5D1E
analogous
#1E546C #1E2D6C #361E6C
triadic
#1E2D6C #6C1E2D #2D6C1E
tetradic
#1E2D6C #6C1E54 #6C5D1E #1E6C36
square
#1E2D6C #6C1E54 #6C5D1E #1E6C36
split-complementary
#1E2D6C #6C361E #546C1E
monochromatic
#070A18 #11193C #1E2D6C #2B419C #3C57C9

Accessibility & contrast

On white

12.75
#1E2D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D6C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D6C#FFFFFF#000000##FFFFFF
##1E2D6C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2d6c;
/* rgb */ color: rgb(30, 45, 108);
/* oklch */ color: oklch(32.5% 0.111 269.2);
Tailwind
colors: {
  custom: {
    50: '#656597',
    500: '#1e2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d6c;
$custom-light: #656597;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d6c",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 228.462,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32512,
    "c": 0.11113,
    "h": 269.2
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#1E2D6C
secondary
#A08F45
accent
#C348E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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