#1B2C4D#1B2C4D

#1B2C4D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.064 H 262.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1B2C4D
RGBrgb(27, 44, 77)
HSLhsl(220, 48%, 20%)
HSVhsv(220, 65%, 30%)
CMYKcmyk(64.9%, 42.9%, 0%, 69.8%)
CIE-LABlab(18.23, 4.85, -22.50)
CIE-LCHlch(18.23, 23.02, 282.17°)
OKLaboklab(29.67% -0.0084 -0.0639)
OKLCHoklch(29.67% 0.064 262.5)
XYZxyz(2.6918, 2.5700, 7.3739)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C4D #4D3C1B
analogous
#1B454D #1B2C4D #231B4D
triadic
#1B2C4D #4D1B2C #2C4D1B
tetradic
#1B2C4D #4D1B45 #4D3C1B #1B4D23
square
#1B2C4D #4D1B45 #4D3C1B #1B4D23
split-complementary
#1B2C4D #4D231B #454D1B
monochromatic
#080D17 #0B1220 #1B2C4D #2B467A #3B60A8

Accessibility & contrast

On white

13.87
#1B2C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1B2C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C4D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C4D#FFFFFF#000000##FFFFFF
##1B2C4D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b2c4d;
/* rgb */ color: rgb(27, 44, 77);
/* oklch */ color: oklch(29.7% 0.064 262.5);
Tailwind
colors: {
  custom: {
    50: '#5c647f',
    500: '#1b2c4d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c4d;
$custom-light: #5c647f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c4d",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 219.6,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.06441,
    "h": 262.5
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#1B2C4D
secondary
#836C41
accent
#AA50D8
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1B2C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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