#1B2B4D#1B2B4D

#1B2B4D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.066 H 263.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2B4D
RGBrgb(27, 43, 77)
HSLhsl(221, 48%, 20%)
HSVhsv(221, 65%, 30%)
CMYKcmyk(64.9%, 44.2%, 0%, 69.8%)
CIE-LABlab(17.90, 5.58, -23.02)
CIE-LCHlch(17.90, 23.69, 283.62°)
OKLaboklab(29.41% -0.0071 -0.0654)
OKLCHoklch(29.41% 0.066 263.8)
XYZxyz(2.6550, 2.4964, 7.3617)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B4D #4D3D1B
analogous
#1B444D #1B2B4D #241B4D
triadic
#1B2B4D #4D1B2B #2B4D1B
tetradic
#1B2B4D #4D1B44 #4D3D1B #1B4D24
square
#1B2B4D #4D1B44 #4D3D1B #1B4D24
split-complementary
#1B2B4D #4D241B #444D1B
monochromatic
#080D17 #0B1220 #1B2B4D #2B447A #3B5EA8

Accessibility & contrast

On white

14.01
#1B2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1B2B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B4D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B4D#FFFFFF#000000##FFFFFF
##1B2B4D1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b4d;
/* rgb */ color: rgb(27, 43, 77);
/* oklch */ color: oklch(29.4% 0.066 263.8);
Tailwind
colors: {
  custom: {
    50: '#5c647f',
    500: '#1b2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b4d;
$custom-light: #5c647f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b4d",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 220.8,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2941,
    "c": 0.06578,
    "h": 263.8
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#1B2B4D
secondary
#836E41
accent
#AC50D8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1B2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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