#1B327D#1B327D

#1B327D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.130 H 266.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1B327D
RGBrgb(27, 50, 125)
HSLhsl(226, 64%, 30%)
HSVhsv(226, 78%, 49%)
CMYKcmyk(78.4%, 60%, 0%, 51%)
CIE-LABlab(23.65, 20.02, -45.11)
CIE-LCHlch(23.65, 49.36, 293.93°)
OKLaboklab(34.93% -0.0079 -0.1302)
OKLCHoklch(34.93% 0.13 266.5)
XYZxyz(5.2930, 3.9943, 19.8901)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B327D #7D661B
analogous
#1B637D #1B327D #351B7D
triadic
#1B327D #7D1B32 #327D1B
tetradic
#1B327D #7D1B63 #7D661B #1B7D35
square
#1B327D #7D1B63 #7D661B #1B7D35
split-complementary
#1B327D #7D351B #637D1B
monochromatic
#050A19 #101E4B #1B327D #2646AF #3D61D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B327D#FFFFFF#000000##FFFFFF
##1B327D1.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)
#003D80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b327d;
/* rgb */ color: rgb(27, 50, 125);
/* oklch */ color: oklch(34.9% 0.130 266.5);
Tailwind
colors: {
  custom: {
    50: '#6869a3',
    500: '#1b327d',
    950: '#000000',
  },
}
SCSS
$custom: #1b327d;
$custom-light: #6869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b327d",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 225.918,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.13046,
    "h": 266.5
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#1B327D
secondary
#B19743
accent
#C040E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B327D

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

Preview Lab → · Contrast checker → · Palette generator →

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