#1E2D6A#1E2D6A

#1E2D6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.108 H 269.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1E2D6A
RGBrgb(30, 45, 106)
HSLhsl(228, 56%, 27%)
HSVhsv(228, 72%, 42%)
CMYKcmyk(71.7%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.80, 16.37, -37.58)
CIE-LCHlch(20.80, 40.99, 293.53°)
OKLaboklab(32.34% -0.0017 -0.1081)
OKLCHoklch(32.34% 0.108 269.1)
XYZxyz(4.0744, 3.1930, 14.0345)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D6A #6A5B1E
analogous
#1E536A #1E2D6A #351E6A
triadic
#1E2D6A #6A1E2D #2D6A1E
tetradic
#1E2D6A #6A1E53 #6A5B1E #1E6A35
square
#1E2D6A #6A1E53 #6A5B1E #1E6A35
split-complementary
#1E2D6A #6A351E #536A1E
monochromatic
#070A18 #11193A #1E2D6A #2C419A #3B57C7

Accessibility & contrast

On white

12.82
#1E2D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D6A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D6A#FFFFFF#000000##FFFFFF
##1E2D6A1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2d6a;
/* rgb */ color: rgb(30, 45, 106);
/* oklch */ color: oklch(32.3% 0.108 269.1);
Tailwind
colors: {
  custom: {
    50: '#646595',
    500: '#1e2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d6a;
$custom-light: #646595;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d6a",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 228.158,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3234,
    "c": 0.10809,
    "h": 269.1
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#1E2D6A
secondary
#9E8D45
accent
#C149DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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