#1B3573#1B3573

#1B3573 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.112 H 264.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1B3573
RGBrgb(27, 53, 115)
HSLhsl(222, 62%, 28%)
HSVhsv(222, 77%, 45%)
CMYKcmyk(76.5%, 53.9%, 0%, 54.9%)
CIE-LABlab(23.73, 13.82, -38.64)
CIE-LCHlch(23.73, 41.04, 289.68°)
OKLaboklab(34.73% -0.0112 -0.1111)
OKLCHoklch(34.73% 0.112 264.2)
XYZxyz(4.8185, 4.0165, 16.7376)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3573 #73591B
analogous
#1B6173 #1B3573 #2D1B73
triadic
#1B3573 #731B35 #35731B
tetradic
#1B3573 #731B61 #73591B #1B732D
square
#1B3573 #731B61 #73591B #1B732D
split-complementary
#1B3573 #732D1B #61731B
monochromatic
#060B19 #0F1E41 #1B3573 #274CA5 #3865D0

Accessibility & contrast

On white

11.64
#1B3573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B3573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3573
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3573#FFFFFF#000000##FFFFFF
##1B35731.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3573;
/* rgb */ color: rgb(27, 53, 115);
/* oklch */ color: oklch(34.7% 0.112 264.2);
Tailwind
colors: {
  custom: {
    50: '#656b9c',
    500: '#1b3573',
    950: '#000000',
  },
}
SCSS
$custom: #1b3573;
$custom-light: #656b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3573",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 115
  },
  "hsl": {
    "h": 222.273,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.1117,
    "h": 264.2
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#1B3573
secondary
#A88A42
accent
#B543E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3573

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

Preview Lab → · Contrast checker → · Palette generator →

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