#1B3471#1B3471

#1B3471 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.110 H 264.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1B3471
RGBrgb(27, 52, 113)
HSLhsl(223, 61%, 27%)
HSVhsv(223, 76%, 44%)
CMYKcmyk(76.1%, 54%, 0%, 55.7%)
CIE-LABlab(23.27, 13.71, -38.10)
CIE-LCHlch(23.27, 40.49, 289.80°)
OKLaboklab(34.34% -0.0105 -0.1095)
OKLCHoklch(34.34% 0.11 264.5)
XYZxyz(4.6596, 3.8808, 16.1231)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3471 #71581B
analogous
#1B5F71 #1B3471 #2D1B71
triadic
#1B3471 #711B34 #34711B
tetradic
#1B3471 #711B5F #71581B #1B712D
square
#1B3471 #711B5F #71581B #1B712D
split-complementary
#1B3471 #712D1B #5F711B
monochromatic
#060B19 #0F1D40 #1B3471 #274BA2 #3763CF

Accessibility & contrast

On white

11.82
#1B3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B3471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3471
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3471#FFFFFF#000000##FFFFFF
##1B34711.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b3471;
/* rgb */ color: rgb(27, 52, 113);
/* oklch */ color: oklch(34.3% 0.110 264.5);
Tailwind
colors: {
  custom: {
    50: '#646b9a',
    500: '#1b3471',
    950: '#000000',
  },
}
SCSS
$custom: #1b3471;
$custom-light: #646b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3471",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 222.558,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3434,
    "c": 0.11005,
    "h": 264.5
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#1B3471
secondary
#A68942
accent
#B643E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3471

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

Preview Lab → · Contrast checker → · Palette generator →

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