#1B3572#1B3572

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

Color values

HEX#1B3572
RGBrgb(27, 53, 114)
HSLhsl(222, 62%, 28%)
HSVhsv(222, 76%, 45%)
CMYKcmyk(76.3%, 53.5%, 0%, 55.3%)
CIE-LABlab(23.65, 13.41, -38.13)
CIE-LCHlch(23.65, 40.42, 289.38°)
OKLaboklab(34.65% -0.0113 -0.1096)
OKLCHoklch(34.65% 0.11 264.1)
XYZxyz(4.7613, 3.9936, 16.4362)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3572 #72581B
analogous
#1B6072 #1B3572 #2D1B72
triadic
#1B3572 #721B35 #35721B
tetradic
#1B3572 #721B60 #72581B #1B722D
square
#1B3572 #721B60 #72581B #1B722D
split-complementary
#1B3572 #722D1B #60721B
monochromatic
#060C19 #0F1E41 #1B3572 #274CA3 #3865D0

Accessibility & contrast

On white

11.67
#1B3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3572
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3572#FFFFFF#000000##FFFFFF
##1B35721.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3572;
/* rgb */ color: rgb(27, 53, 114);
/* oklch */ color: oklch(34.7% 0.110 264.1);
Tailwind
colors: {
  custom: {
    50: '#656b9b',
    500: '#1b3572',
    950: '#000000',
  },
}
SCSS
$custom: #1b3572;
$custom-light: #656b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3572",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 222.069,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.1102,
    "h": 264.1
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3572

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

Preview Lab → · Contrast checker → · Palette generator →

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