#1B327B#1B327B

#1B327B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.128 H 266.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#1B327B
RGBrgb(27, 50, 123)
HSLhsl(226, 64%, 29%)
HSVhsv(226, 78%, 48%)
CMYKcmyk(78%, 59.3%, 0%, 51.8%)
CIE-LABlab(23.48, 19.21, -44.12)
CIE-LCHlch(23.48, 48.12, 293.53°)
OKLaboklab(34.75% -0.008 -0.1273)
OKLCHoklch(34.75% 0.128 266.4)
XYZxyz(5.1665, 3.9437, 19.2240)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B327B #7B641B
analogous
#1B627B #1B327B #341B7B
triadic
#1B327B #7B1B32 #327B1B
tetradic
#1B327B #7B1B62 #7B641B #1B7B34
square
#1B327B #7B1B62 #7B641B #1B7B34
split-complementary
#1B327B #7B341B #627B1B
monochromatic
#060A19 #101E49 #1B327B #2646AD #3C61D4

Accessibility & contrast

On white

11.74
#1B327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B327B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B327B#FFFFFF#000000##FFFFFF
##1B327B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b327b;
/* rgb */ color: rgb(27, 50, 123);
/* oklch */ color: oklch(34.8% 0.128 266.4);
Tailwind
colors: {
  custom: {
    50: '#6769a2',
    500: '#1b327b',
    950: '#000000',
  },
}
SCSS
$custom: #1b327b;
$custom-light: #6769a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b327b",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 225.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.12756,
    "h": 266.4
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B327B

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

Preview Lab → · Contrast checker → · Palette generator →

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