#1B355C#1B355C

#1B355C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.0% C 0.076 H 258.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1B355C
RGBrgb(27, 53, 92)
HSLhsl(216, 55%, 23%)
HSVhsv(216, 71%, 36%)
CMYKcmyk(70.7%, 42.4%, 0%, 63.9%)
CIE-LABlab(22.13, 4.43, -26.31)
CIE-LCHlch(22.13, 26.68, 279.56°)
OKLaboklab(32.99% -0.0154 -0.0749)
OKLCHoklch(32.99% 0.076 258.3)
XYZxyz(3.6562, 3.5516, 10.6160)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B355C #5C421B
analogous
#1B555C #1B355C #211B5C
triadic
#1B355C #5C1B35 #355C1B
tetradic
#1B355C #5C1B55 #5C421B #1B5C21
square
#1B355C #5C1B55 #5C421B #1B5C21
split-complementary
#1B355C #5C211B #555C1B
monochromatic
#070E18 #0D1A2D #1B355C #29508B #376CBB

Accessibility & contrast

On white

12.28
#1B355C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B355C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B355C#FFFFFF#000000##FFFFFF
##1B355C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#1A325B
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b355c;
/* rgb */ color: rgb(27, 53, 92);
/* oklch */ color: oklch(33.0% 0.076 258.3);
Tailwind
colors: {
  custom: {
    50: '#5f6b8a',
    500: '#1b355c',
    950: '#000000',
  },
}
SCSS
$custom: #1b355c;
$custom-light: #5f6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b355c",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 92
  },
  "hsl": {
    "h": 216,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32993,
    "c": 0.07647,
    "h": 258.3
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#1B355C
secondary
#927141
accent
#A34ADE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1B355C

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

Preview Lab → · Contrast checker → · Palette generator →

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