#1B328B#1B328B

#1B328B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.150 H 267.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#1B328B
RGBrgb(27, 50, 139)
HSLhsl(228, 67%, 33%)
HSVhsv(228, 81%, 55%)
CMYKcmyk(80.6%, 64%, 0%, 45.5%)
CIE-LABlab(24.88, 25.61, -51.88)
CIE-LCHlch(24.88, 57.85, 296.27°)
OKLaboklab(36.23% -0.0078 -0.1501)
OKLCHoklch(36.23% 0.15 267)
XYZxyz(6.2512, 4.3776, 24.9366)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B328B #8B741B
analogous
#1B6A8B #1B328B #3C1B8B
triadic
#1B328B #8B1B32 #328B1B
tetradic
#1B328B #8B1B6A #8B741B #1B8B3C
square
#1B328B #8B1B6A #8B741B #1B8B3C
split-complementary
#1B328B #8B3C1B #6A8B1B
monochromatic
#070D25 #112058 #1B328B #2544BE #4564DB

Accessibility & contrast

On white

11.20
#1B328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B328B
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B328B#FFFFFF#000000##FFFFFF
##1B328B1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b328b;
/* rgb */ color: rgb(27, 50, 139);
/* oklch */ color: oklch(36.2% 0.150 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b69ae',
    500: '#1b328b',
    950: '#000000',
  },
}
SCSS
$custom: #1b328b;
$custom-light: #6b69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b328b",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 227.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36228,
    "c": 0.15026,
    "h": 267
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#1B328B
secondary
#BCA445
accent
#C73DEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B328B

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

Preview Lab → · Contrast checker → · Palette generator →

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