#1B355D#1B355D

#1B355D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.078 H 258.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1B355D
RGBrgb(27, 53, 93)
HSLhsl(216, 55%, 24%)
HSVhsv(216, 71%, 36%)
CMYKcmyk(71%, 43%, 0%, 63.5%)
CIE-LABlab(22.19, 4.84, -26.87)
CIE-LCHlch(22.19, 27.30, 280.20°)
OKLaboklab(33.06% -0.0152 -0.0765)
OKLCHoklch(33.06% 0.078 258.8)
XYZxyz(3.7002, 3.5692, 10.8477)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B355D #5D431B
analogous
#1B565D #1B355D #221B5D
triadic
#1B355D #5D1B35 #355D1B
tetradic
#1B355D #5D1B56 #5D431B #1B5D22
square
#1B355D #5D1B56 #5D431B #1B5D22
split-complementary
#1B355D #5D221B #565D1B
monochromatic
#070E18 #0D1A2E #1B355D #29508C #376BBC

Accessibility & contrast

On white

12.25
#1B355D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B355D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B355D#FFFFFF#000000##FFFFFF
##1B355D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385F
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b355d;
/* rgb */ color: rgb(27, 53, 93);
/* oklch */ color: oklch(33.1% 0.078 258.8);
Tailwind
colors: {
  custom: {
    50: '#606b8b',
    500: '#1b355d',
    950: '#000000',
  },
}
SCSS
$custom: #1b355d;
$custom-light: #606b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b355d",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 93
  },
  "hsl": {
    "h": 216.364,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.07802,
    "h": 258.8
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#1B355D
secondary
#937341
accent
#A449DE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1B355D

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

Preview Lab → · Contrast checker → · Palette generator →

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