#1E2D65#1E2D65

#1E2D65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.100 H 268.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1E2D65
RGBrgb(30, 45, 101)
HSLhsl(227, 54%, 26%)
HSVhsv(227, 70%, 40%)
CMYKcmyk(70.3%, 55.4%, 0%, 60.4%)
CIE-LABlab(20.41, 14.36, -34.96)
CIE-LCHlch(20.41, 37.79, 292.34°)
OKLaboklab(31.92% -0.0021 -0.1004)
OKLCHoklch(31.92% 0.1 268.8)
XYZxyz(3.8220, 3.0920, 12.7048)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D65 #65561E
analogous
#1E5065 #1E2D65 #321E65
triadic
#1E2D65 #651E2D #2D651E
tetradic
#1E2D65 #651E50 #65561E #1E6532
square
#1E2D65 #651E50 #65561E #1E6532
split-complementary
#1E2D65 #65321E #50651E
monochromatic
#070B18 #101836 #1E2D65 #2C4294 #3A57C3

Accessibility & contrast

On white

12.98
#1E2D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D65
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D65#FFFFFF#000000##FFFFFF
##1E2D651.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2d65;
/* rgb */ color: rgb(30, 45, 101);
/* oklch */ color: oklch(31.9% 0.100 268.8);
Tailwind
colors: {
  custom: {
    50: '#636591',
    500: '#1e2d65',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d65;
$custom-light: #636591;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d65",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 227.324,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.10039,
    "h": 268.8
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#1E2D65
secondary
#9A8845
accent
#BE4ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2D65

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

Preview Lab → · Contrast checker → · Palette generator →

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