#1B328E#1B328E

#1B328E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.154 H 267.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1B328E
RGBrgb(27, 50, 142)
HSLhsl(228, 68%, 33%)
HSVhsv(228, 81%, 56%)
CMYKcmyk(81%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.16, 26.79, -53.29)
CIE-LCHlch(25.16, 59.64, 296.69°)
OKLaboklab(36.52% -0.0078 -0.1542)
OKLCHoklch(36.52% 0.154 267.1)
XYZxyz(6.4734, 4.4665, 26.1069)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B328E #8E771B
analogous
#1B6B8E #1B328E #3D1B8E
triadic
#1B328E #8E1B32 #328E1B
tetradic
#1B328E #8E1B6B #8E771B #1B8E3D
square
#1B328E #8E1B6B #8E771B #1B8E3D
split-complementary
#1B328E #8E3D1B #6B8E1B
monochromatic
#070E27 #11205B #1B328E #2544C1 #4765DC

Accessibility & contrast

On white

11.09
#1B328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1B328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B328E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B328E#FFFFFF#000000##FFFFFF
##1B328E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b328e;
/* rgb */ color: rgb(27, 50, 142);
/* oklch */ color: oklch(36.5% 0.154 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c69b0',
    500: '#1b328e',
    950: '#000000',
  },
}
SCSS
$custom: #1b328e;
$custom-light: #6c69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b328e",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 228,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.1544,
    "h": 267.1
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#1B328E
secondary
#BEA647
accent
#C83DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B328E

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

Preview Lab → · Contrast checker → · Palette generator →

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