#1E2D5B#1E2D5B

#1E2D5B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.085 H 267.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1E2D5B
RGBrgb(30, 45, 91)
HSLhsl(225, 50%, 24%)
HSVhsv(225, 67%, 36%)
CMYKcmyk(67%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.67, 10.37, -29.57)
CIE-LCHlch(19.67, 31.33, 289.33°)
OKLaboklab(31.12% -0.0034 -0.0845)
OKLCHoklch(31.12% 0.085 267.7)
XYZxyz(3.3615, 2.9078, 10.2796)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D5B #5B4C1E
analogous
#1E4B5B #1E2D5B #2D1E5B
triadic
#1E2D5B #5B1E2D #2D5B1E
tetradic
#1E2D5B #5B1E4B #5B4C1E #1E5B2D
square
#1E2D5B #5B1E4B #5B4C1E #1E5B2D
split-complementary
#1E2D5B #5B2D1E #4B5B1E
monochromatic
#080B17 #0F162D #1E2D5B #2D4489 #3C5BB7

Accessibility & contrast

On white

13.28
#1E2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E2D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D5B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D5B#FFFFFF#000000##FFFFFF
##1E2D5B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335D
Deuteranopia (green-blind)
#0B2D5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2d5b;
/* rgb */ color: rgb(30, 45, 91);
/* oklch */ color: oklch(31.1% 0.085 267.7);
Tailwind
colors: {
  custom: {
    50: '#61658a',
    500: '#1e2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d5b;
$custom-light: #61658a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d5b",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 225.246,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31123,
    "c": 0.08458,
    "h": 267.7
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#1E2D5B
secondary
#907D45
accent
#B74EDA
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1E2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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