#1B2E53#1B2E53

#1B2E53 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.071 H 262.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1B2E53
RGBrgb(27, 46, 83)
HSLhsl(220, 51%, 22%)
HSVhsv(220, 67%, 33%)
CMYKcmyk(67.5%, 44.6%, 0%, 67.5%)
CIE-LABlab(19.27, 5.80, -24.89)
CIE-LCHlch(19.27, 25.56, 283.12°)
OKLaboklab(30.59% -0.0094 -0.0708)
OKLCHoklch(30.59% 0.071 262.4)
XYZxyz(2.9898, 2.8113, 8.5670)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E53 #53401B
analogous
#1B4A53 #1B2E53 #241B53
triadic
#1B2E53 #531B2E #2E531B
tetradic
#1B2E53 #531B4A #53401B #1B5324
square
#1B2E53 #531B4A #53401B #1B5324
split-complementary
#1B2E53 #53241B #4A531B
monochromatic
#080D17 #0C1425 #1B2E53 #2A4881 #3961AF

Accessibility & contrast

On white

13.44
#1B2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E53
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E53#FFFFFF#000000##FFFFFF
##1B2E531.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3254
Deuteranopia (green-blind)
#162C52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2e53;
/* rgb */ color: rgb(27, 46, 83);
/* oklch */ color: oklch(30.6% 0.071 262.4);
Tailwind
colors: {
  custom: {
    50: '#5e6683',
    500: '#1b2e53',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e53;
$custom-light: #5e6683;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e53",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 219.643,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30593,
    "c": 0.07144,
    "h": 262.4
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#1B2E53
secondary
#897041
accent
#AB4DDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050A
muted
#797A7C

Preview Lab

Preview with #1B2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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