#1E2D64#1E2D64

#1E2D64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.099 H 268.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1E2D64
RGBrgb(30, 45, 100)
HSLhsl(227, 54%, 25%)
HSVhsv(227, 70%, 39%)
CMYKcmyk(70%, 55%, 0%, 60.8%)
CIE-LABlab(20.33, 13.96, -34.43)
CIE-LCHlch(20.33, 37.15, 292.08°)
OKLaboklab(31.84% -0.0022 -0.0988)
OKLCHoklch(31.84% 0.099 268.7)
XYZxyz(3.7733, 3.0725, 12.4483)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D64 #64551E
analogous
#1E5064 #1E2D64 #321E64
triadic
#1E2D64 #641E2D #2D641E
tetradic
#1E2D64 #641E50 #64551E #1E6432
square
#1E2D64 #641E50 #64551E #1E6432
split-complementary
#1E2D64 #64321E #50641E
monochromatic
#070B18 #101835 #1E2D64 #2C4293 #3A57C2

Accessibility & contrast

On white

13.01
#1E2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D64
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D64#FFFFFF#000000##FFFFFF
##1E2D641.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3466
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2d64;
/* rgb */ color: rgb(30, 45, 100);
/* oklch */ color: oklch(31.8% 0.099 268.7);
Tailwind
colors: {
  custom: {
    50: '#636591',
    500: '#1e2d64',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d64;
$custom-light: #636591;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d64",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 227.143,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31837,
    "c": 0.09883,
    "h": 268.7
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#1E2D64
secondary
#998745
accent
#BE4BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050D
muted
#7A7A7D

Preview Lab

Preview with #1E2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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