#1B328A#1B328A

#1B328A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.149 H 267.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#1B328A
RGBrgb(27, 50, 138)
HSLhsl(228, 67%, 32%)
HSVhsv(228, 80%, 54%)
CMYKcmyk(80.4%, 63.8%, 0%, 45.9%)
CIE-LABlab(24.79, 25.21, -51.40)
CIE-LCHlch(24.79, 57.26, 296.13°)
OKLaboklab(36.13% -0.0077 -0.1487)
OKLCHoklch(36.13% 0.149 267)
XYZxyz(6.1784, 4.3485, 24.5535)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B328A #8A731B
analogous
#1B698A #1B328A #3C1B8A
triadic
#1B328A #8A1B32 #328A1B
tetradic
#1B328A #8A1B69 #8A731B #1B8A3C
square
#1B328A #8A1B69 #8A731B #1B8A3C
split-complementary
#1B328A #8A3C1B #698A1B
monochromatic
#070D24 #111F57 #1B328A #2545BD #4564DB

Accessibility & contrast

On white

11.23
#1B328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1B328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B328A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B328A#FFFFFF#000000##FFFFFF
##1B328A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b328a;
/* rgb */ color: rgb(27, 50, 138);
/* oklch */ color: oklch(36.1% 0.149 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b69ad',
    500: '#1b328a',
    950: '#000000',
  },
}
SCSS
$custom: #1b328a;
$custom-light: #6b69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b328a",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 227.568,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.14888,
    "h": 267
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#1B328A
secondary
#BCA345
accent
#C63EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B328A

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

Preview Lab → · Contrast checker → · Palette generator →

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