#1B327E#1B327E

#1B327E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.132 H 266.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1B327E
RGBrgb(27, 50, 126)
HSLhsl(226, 65%, 30%)
HSVhsv(226, 79%, 49%)
CMYKcmyk(78.6%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.74, 20.42, -45.61)
CIE-LCHlch(23.74, 49.97, 294.12°)
OKLaboklab(35.02% -0.0079 -0.1317)
OKLCHoklch(35.02% 0.132 266.6)
XYZxyz(5.3572, 4.0200, 20.2282)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B327E #7E671B
analogous
#1B637E #1B327E #361B7E
triadic
#1B327E #7E1B32 #327E1B
tetradic
#1B327E #7E1B63 #7E671B #1B7E36
square
#1B327E #7E1B63 #7E671B #1B7E36
split-complementary
#1B327E #7E361B #637E1B
monochromatic
#050A19 #101E4C #1B327E #2646B0 #3E61D6

Accessibility & contrast

On white

11.64
#1B327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B327E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B327E#FFFFFF#000000##FFFFFF
##1B327E1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b327e;
/* rgb */ color: rgb(27, 50, 126);
/* oklch */ color: oklch(35.0% 0.132 266.6);
Tailwind
colors: {
  custom: {
    50: '#6869a4',
    500: '#1b327e',
    950: '#000000',
  },
}
SCSS
$custom: #1b327e;
$custom-light: #6869a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b327e",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 226.061,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.35021,
    "c": 0.13191,
    "h": 266.6
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#1B327E
secondary
#B29843
accent
#C140E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B327E

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

Preview Lab → · Contrast checker → · Palette generator →

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