#1B2D5B#1B2D5B

#1B2D5B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.086 H 265.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2D5B
RGBrgb(27, 45, 91)
HSLhsl(223, 54%, 23%)
HSVhsv(223, 70%, 36%)
CMYKcmyk(70.3%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.49, 9.76, -29.86)
CIE-LCHlch(19.49, 31.42, 288.10°)
OKLaboklab(30.94% -0.0066 -0.0854)
OKLCHoklch(30.94% 0.086 265.6)
XYZxyz(3.2781, 2.8648, 10.2757)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D5B #5B491B
analogous
#1B4D5B #1B2D5B #291B5B
triadic
#1B2D5B #5B1B2D #2D5B1B
tetradic
#1B2D5B #5B1B4D #5B491B #1B5B29
square
#1B2D5B #5B1B4D #5B491B #1B5B29
split-complementary
#1B2D5B #5B291B #4D5B1B
monochromatic
#070C18 #0D162C #1B2D5B #29448A #375CB9

Accessibility & contrast

On white

13.35
#1B2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B2D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D5B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D5B#FFFFFF#000000##FFFFFF
##1B2D5B1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#092C5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2d5b;
/* rgb */ color: rgb(27, 45, 91);
/* oklch */ color: oklch(30.9% 0.086 265.6);
Tailwind
colors: {
  custom: {
    50: '#5f658a',
    500: '#1b2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d5b;
$custom-light: #5f658a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d5b",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 223.125,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.08569,
    "h": 265.6
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#1B2D5B
secondary
#917A41
accent
#B44ADE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1B2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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