#1E2D6B#1E2D6B

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

Color values

HEX#1E2D6B
RGBrgb(30, 45, 107)
HSLhsl(228, 56%, 27%)
HSVhsv(228, 72%, 42%)
CMYKcmyk(72%, 57.9%, 0%, 58%)
CIE-LABlab(20.88, 16.77, -38.10)
CIE-LCHlch(20.88, 41.62, 293.75°)
OKLaboklab(32.42% -0.0016 -0.1096)
OKLCHoklch(32.42% 0.11 269.2)
XYZxyz(4.1267, 3.2139, 14.3099)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D6B #6B5C1E
analogous
#1E546B #1E2D6B #361E6B
triadic
#1E2D6B #6B1E2D #2D6B1E
tetradic
#1E2D6B #6B1E54 #6B5C1E #1E6B36
square
#1E2D6B #6B1E54 #6B5C1E #1E6B36
split-complementary
#1E2D6B #6B361E #546B1E
monochromatic
#070A18 #11193B #1E2D6B #2B419B #3B57C8

Accessibility & contrast

On white

12.78
#1E2D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D6B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D6B#FFFFFF#000000##FFFFFF
##1E2D6B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2d6b;
/* rgb */ color: rgb(30, 45, 107);
/* oklch */ color: oklch(32.4% 0.110 269.2);
Tailwind
colors: {
  custom: {
    50: '#656596',
    500: '#1e2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d6b;
$custom-light: #656596;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d6b",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 228.312,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.10962,
    "h": 269.2
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#1E2D6B
secondary
#9F8E45
accent
#C248DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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