#1B328F#1B328F

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

Color values

HEX#1B328F
RGBrgb(27, 50, 143)
HSLhsl(228, 68%, 33%)
HSVhsv(228, 81%, 56%)
CMYKcmyk(81.1%, 65%, 0%, 43.9%)
CIE-LABlab(25.25, 27.18, -53.76)
CIE-LCHlch(25.25, 60.24, 296.82°)
OKLaboklab(36.61% -0.0078 -0.1556)
OKLCHoklch(36.61% 0.156 267.1)
XYZxyz(6.5488, 4.4966, 26.5041)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B328F #8F781B
analogous
#1B6C8F #1B328F #3E1B8F
triadic
#1B328F #8F1B32 #328F1B
tetradic
#1B328F #8F1B6C #8F781B #1B8F3E
square
#1B328F #8F1B6C #8F781B #1B8F3E
split-complementary
#1B328F #8F3E1B #6C8F1B
monochromatic
#080E28 #11205C #1B328F #2544C2 #4865DC

Accessibility & contrast

On white

11.06
#1B328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B328F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B328F#FFFFFF#000000##FFFFFF
##1B328F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b328f;
/* rgb */ color: rgb(27, 50, 143);
/* oklch */ color: oklch(36.6% 0.156 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c69b1',
    500: '#1b328f',
    950: '#000000',
  },
}
SCSS
$custom: #1b328f;
$custom-light: #6c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b328f",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 228.103,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.15576,
    "h": 267.1
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#1B328F
secondary
#BEA748
accent
#C93DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B328F

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

Preview Lab → · Contrast checker → · Palette generator →

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