#1B3571#1B3571

#1B3571 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.109 H 264.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1B3571
RGBrgb(27, 53, 113)
HSLhsl(222, 61%, 27%)
HSVhsv(222, 76%, 44%)
CMYKcmyk(76.1%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.58, 13.00, -37.61)
CIE-LCHlch(23.58, 39.79, 289.07°)
OKLaboklab(34.57% -0.0114 -0.1081)
OKLCHoklch(34.57% 0.109 264)
XYZxyz(4.7047, 3.9710, 16.1381)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3571 #71571B
analogous
#1B6071 #1B3571 #2C1B71
triadic
#1B3571 #711B35 #35711B
tetradic
#1B3571 #711B60 #71571B #1B712C
square
#1B3571 #711B60 #71571B #1B712C
split-complementary
#1B3571 #712C1B #60711B
monochromatic
#060C19 #0F1E40 #1B3571 #274CA2 #3765CF

Accessibility & contrast

On white

11.70
#1B3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3571
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3571#FFFFFF#000000##FFFFFF
##1B35711.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3571;
/* rgb */ color: rgb(27, 53, 113);
/* oklch */ color: oklch(34.6% 0.109 264.0);
Tailwind
colors: {
  custom: {
    50: '#646b9a',
    500: '#1b3571',
    950: '#000000',
  },
}
SCSS
$custom: #1b3571;
$custom-light: #646b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3571",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 221.86,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.1087,
    "h": 264
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#1B3571
secondary
#A68842
accent
#B443E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3571

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

Preview Lab → · Contrast checker → · Palette generator →

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