#1B2D4D#1B2D4D

#1B2D4D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.063 H 261.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2D4D
RGBrgb(27, 45, 77)
HSLhsl(218, 48%, 20%)
HSVhsv(218, 65%, 30%)
CMYKcmyk(64.9%, 41.6%, 0%, 69.8%)
CIE-LABlab(18.56, 4.13, -21.98)
CIE-LCHlch(18.56, 22.36, 280.65°)
OKLaboklab(29.92% -0.0097 -0.0623)
OKLCHoklch(29.92% 0.063 261.2)
XYZxyz(2.7295, 2.6454, 7.3865)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D4D #4D3B1B
analogous
#1B464D #1B2D4D #221B4D
triadic
#1B2D4D #4D1B2D #2D4D1B
tetradic
#1B2D4D #4D1B46 #4D3B1B #1B4D22
square
#1B2D4D #4D1B46 #4D3B1B #1B4D22
split-complementary
#1B2D4D #4D221B #464D1B
monochromatic
#080D17 #0B1320 #1B2D4D #2B477A #3B62A8

Accessibility & contrast

On white

13.73
#1B2D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2D4D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D4D#FFFFFF#000000##FFFFFF
##1B2D4D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#192B4C
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2d4d;
/* rgb */ color: rgb(27, 45, 77);
/* oklch */ color: oklch(29.9% 0.063 261.2);
Tailwind
colors: {
  custom: {
    50: '#5c657f',
    500: '#1b2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d4d;
$custom-light: #5c657f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d4d",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 218.4,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29922,
    "c": 0.06306,
    "h": 261.2
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#1B2D4D
secondary
#836B41
accent
#A750D8
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1B2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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