#1B327C#1B327C

#1B327C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.129 H 266.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1B327C
RGBrgb(27, 50, 124)
HSLhsl(226, 64%, 30%)
HSVhsv(226, 78%, 49%)
CMYKcmyk(78.2%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.57, 19.62, -44.62)
CIE-LCHlch(23.57, 48.74, 293.73°)
OKLaboklab(34.84% -0.008 -0.1288)
OKLCHoklch(34.84% 0.129 266.5)
XYZxyz(5.2294, 3.9689, 19.5553)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B327C #7C651B
analogous
#1B637C #1B327C #351B7C
triadic
#1B327C #7C1B32 #327C1B
tetradic
#1B327C #7C1B63 #7C651B #1B7C35
square
#1B327C #7C1B63 #7C651B #1B7C35
split-complementary
#1B327C #7C351B #637C1B
monochromatic
#050A19 #101E4A #1B327C #2646AE #3D61D5

Accessibility & contrast

On white

11.71
#1B327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B327C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B327C#FFFFFF#000000##FFFFFF
##1B327C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b327c;
/* rgb */ color: rgb(27, 50, 124);
/* oklch */ color: oklch(34.8% 0.129 266.5);
Tailwind
colors: {
  custom: {
    50: '#6769a3',
    500: '#1b327c',
    950: '#000000',
  },
}
SCSS
$custom: #1b327c;
$custom-light: #6769a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b327c",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 225.773,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34841,
    "c": 0.12902,
    "h": 266.5
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#1B327C
secondary
#B09643
accent
#C041E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B327C

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

Preview Lab → · Contrast checker → · Palette generator →

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