#1B327F#1B327F

#1B327F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.133 H 266.6°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1B327F
RGBrgb(27, 50, 127)
HSLhsl(226, 65%, 30%)
HSVhsv(226, 79%, 50%)
CMYKcmyk(78.7%, 60.6%, 0%, 50.2%)
CIE-LABlab(23.82, 20.83, -46.10)
CIE-LCHlch(23.82, 50.59, 294.31°)
OKLaboklab(35.11% -0.0079 -0.1331)
OKLCHoklch(35.11% 0.133 266.6)
XYZxyz(5.4220, 4.0459, 20.5697)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B327F #7F681B
analogous
#1B647F #1B327F #361B7F
triadic
#1B327F #7F1B32 #327F1B
tetradic
#1B327F #7F1B64 #7F681B #1B7F36
square
#1B327F #7F1B64 #7F681B #1B7F36
split-complementary
#1B327F #7F361B #647F1B
monochromatic
#060A1A #101E4D #1B327F #2646B1 #3E61D6

Accessibility & contrast

On white

11.61
#1B327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B327F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B327F#FFFFFF#000000##FFFFFF
##1B327F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b327f;
/* rgb */ color: rgb(27, 50, 127);
/* oklch */ color: oklch(35.1% 0.133 266.6);
Tailwind
colors: {
  custom: {
    50: '#6869a5',
    500: '#1b327f',
    950: '#000000',
  },
}
SCSS
$custom: #1b327f;
$custom-light: #6869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b327f",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 226.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.13334,
    "h": 266.6
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#1B327F
secondary
#B39943
accent
#C140E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B327F

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

Preview Lab → · Contrast checker → · Palette generator →

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