#1B355B#1B355B

#1B355B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.075 H 257.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1B355B
RGBrgb(27, 53, 91)
HSLhsl(216, 54%, 23%)
HSVhsv(216, 70%, 36%)
CMYKcmyk(70.3%, 41.8%, 0%, 64.3%)
CIE-LABlab(22.07, 4.03, -25.75)
CIE-LCHlch(22.07, 26.07, 278.89°)
OKLaboklab(32.92% -0.0157 -0.0732)
OKLCHoklch(32.92% 0.075 257.9)
XYZxyz(3.6127, 3.5342, 10.3873)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B355B #5B411B
analogous
#1B555B #1B355B #211B5B
triadic
#1B355B #5B1B35 #355B1B
tetradic
#1B355B #5B1B55 #5B411B #1B5B21
square
#1B355B #5B1B55 #5B411B #1B5B21
split-complementary
#1B355B #5B211B #555B1B
monochromatic
#070E18 #0D1A2C #1B355B #29508A #376CB9

Accessibility & contrast

On white

12.30
#1B355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B355B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B355B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B355B#FFFFFF#000000##FFFFFF
##1B355B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#003E43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b355b;
/* rgb */ color: rgb(27, 53, 91);
/* oklch */ color: oklch(32.9% 0.075 257.9);
Tailwind
colors: {
  custom: {
    50: '#5f6b89',
    500: '#1b355b',
    950: '#000000',
  },
}
SCSS
$custom: #1b355b;
$custom-light: #5f6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1b355b",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 215.625,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.07492,
    "h": 257.9
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#1B355B
secondary
#917041
accent
#A24ADE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1B355B

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

Preview Lab → · Contrast checker → · Palette generator →

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