#1E2F55#1E2F55

#1E2F55 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.072 H 264.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1E2F55
RGBrgb(30, 47, 85)
HSLhsl(221, 48%, 23%)
HSVhsv(221, 65%, 33%)
CMYKcmyk(64.7%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.90, 6.55, -25.21)
CIE-LCHlch(19.90, 26.05, 284.57°)
OKLaboklab(31.17% -0.007 -0.0717)
OKLCHoklch(31.17% 0.072 264.4)
XYZxyz(3.1911, 2.9647, 8.9966)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F55 #55441E
analogous
#1E4A55 #1E2F55 #291E55
triadic
#1E2F55 #551E2F #2F551E
tetradic
#1E2F55 #551E4A #55441E #1E5529
square
#1E2F55 #551E4A #55441E #1E5529
split-complementary
#1E2F55 #55291E #4A551E
monochromatic
#080D17 #0E1628 #1E2F55 #2E4882 #3E61AF

Accessibility & contrast

On white

13.18
#1E2F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E2F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F55
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F55#FFFFFF#000000##FFFFFF
##1E2F551.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3356
Deuteranopia (green-blind)
#172E54
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2f55;
/* rgb */ color: rgb(30, 47, 85);
/* oklch */ color: oklch(31.2% 0.072 264.4);
Tailwind
colors: {
  custom: {
    50: '#5f6785',
    500: '#1e2f55',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f55;
$custom-light: #5f6785;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f55",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 221.455,
    "s": 47.826,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31169,
    "c": 0.07203,
    "h": 264.4
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#1E2F55
secondary
#8A7545
accent
#AE50D7
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1E2F55

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

Preview Lab → · Contrast checker → · Palette generator →

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