#1B2D4E#1B2D4E

#1B2D4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.065 H 261.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1B2D4E
RGBrgb(27, 45, 78)
HSLhsl(219, 49%, 21%)
HSVhsv(219, 65%, 31%)
CMYKcmyk(65.4%, 42.3%, 0%, 69.4%)
CIE-LABlab(18.63, 4.53, -22.55)
CIE-LCHlch(18.63, 23.00, 281.35°)
OKLaboklab(29.99% -0.0094 -0.064)
OKLCHoklch(29.99% 0.065 261.6)
XYZxyz(2.7650, 2.6596, 7.5739)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D4E #4E3C1B
analogous
#1B464E #1B2D4E #231B4E
triadic
#1B2D4E #4E1B2D #2D4E1B
tetradic
#1B2D4E #4E1B46 #4E3C1B #1B4E23
square
#1B2D4E #4E1B46 #4E3C1B #1B4E23
split-complementary
#1B2D4E #4E231B #464E1B
monochromatic
#080D17 #0B1321 #1B2D4E #2B477B #3A61A9

Accessibility & contrast

On white

13.71
#1B2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D4E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D4E#FFFFFF#000000##FFFFFF
##1B2D4E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2d4e;
/* rgb */ color: rgb(27, 45, 78);
/* oklch */ color: oklch(30.0% 0.065 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d6580',
    500: '#1b2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d4e;
$custom-light: #5d6580;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d4e",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 218.824,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.06469,
    "h": 261.6
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#1B2D4E
secondary
#846C41
accent
#A850D8
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1B2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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