#1B326C#1B326C

#1B326C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.105 H 264.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#1B326C
RGBrgb(27, 50, 108)
HSLhsl(223, 60%, 26%)
HSVhsv(223, 75%, 42%)
CMYKcmyk(75%, 53.7%, 0%, 57.6%)
CIE-LABlab(22.29, 13.10, -36.47)
CIE-LCHlch(22.29, 38.75, 289.75°)
OKLaboklab(33.47% -0.0093 -0.1048)
OKLCHoklch(33.47% 0.105 264.9)
XYZxyz(4.2984, 3.5965, 14.6521)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B326C #6C551B
analogous
#1B5B6C #1B326C #2D1B6C
triadic
#1B326C #6C1B32 #326C1B
tetradic
#1B326C #6C1B5B #6C551B #1B6C2D
square
#1B326C #6C1B5B #6C551B #1B6C2D
split-complementary
#1B326C #6C2D1B #5B6C1B
monochromatic
#060B18 #0F1B3B #1B326C #27499D #3560CC

Accessibility & contrast

On white

12.21
#1B326C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B326C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B326C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B326C#FFFFFF#000000##FFFFFF
##1B326C1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b326c;
/* rgb */ color: rgb(27, 50, 108);
/* oklch */ color: oklch(33.5% 0.105 264.9);
Tailwind
colors: {
  custom: {
    50: '#636997',
    500: '#1b326c',
    950: '#000000',
  },
}
SCSS
$custom: #1b326c;
$custom-light: #636997;
$custom-dark: #000000;
JSON
{
  "hex": "#1b326c",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 222.963,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33472,
    "c": 0.10522,
    "h": 264.9
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#1B326C
secondary
#A18642
accent
#B645E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B326C

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

Preview Lab → · Contrast checker → · Palette generator →

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