#1B327A#1B327A

#1B327A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.126 H 266.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#1B327A
RGBrgb(27, 50, 122)
HSLhsl(225, 64%, 29%)
HSVhsv(225, 78%, 48%)
CMYKcmyk(77.9%, 59%, 0%, 52.2%)
CIE-LABlab(23.40, 18.81, -43.62)
CIE-LCHlch(23.40, 47.51, 293.32°)
OKLaboklab(34.66% -0.0081 -0.1258)
OKLCHoklch(34.66% 0.126 266.3)
XYZxyz(5.1042, 3.9188, 18.8960)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B327A #7A631B
analogous
#1B627A #1B327A #341B7A
triadic
#1B327A #7A1B32 #327A1B
tetradic
#1B327A #7A1B62 #7A631B #1B7A34
square
#1B327A #7A1B62 #7A631B #1B7A34
split-complementary
#1B327A #7A341B #627A1B
monochromatic
#060A19 #101D48 #1B327A #2647AC #3C60D4

Accessibility & contrast

On white

11.77
#1B327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B327A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B327A#FFFFFF#000000##FFFFFF
##1B327A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b327a;
/* rgb */ color: rgb(27, 50, 122);
/* oklch */ color: oklch(34.7% 0.126 266.3);
Tailwind
colors: {
  custom: {
    50: '#6769a1',
    500: '#1b327a',
    950: '#000000',
  },
}
SCSS
$custom: #1b327a;
$custom-light: #6769a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b327a",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 225.474,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34663,
    "c": 0.12611,
    "h": 266.3
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#1B327A
secondary
#AE9443
accent
#BF41E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B327A

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

Preview Lab → · Contrast checker → · Palette generator →

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