#1B326B#1B326B

#1B326B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.104 H 264.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#1B326B
RGBrgb(27, 50, 107)
HSLhsl(223, 60%, 26%)
HSVhsv(223, 75%, 42%)
CMYKcmyk(74.8%, 53.3%, 0%, 58%)
CIE-LABlab(22.21, 12.69, -35.95)
CIE-LCHlch(22.21, 38.12, 289.44°)
OKLaboklab(33.39% -0.0094 -0.1033)
OKLCHoklch(33.39% 0.104 264.8)
XYZxyz(4.2455, 3.5753, 14.3734)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B326B #6B541B
analogous
#1B5A6B #1B326B #2C1B6B
triadic
#1B326B #6B1B32 #326B1B
tetradic
#1B326B #6B1B5A #6B541B #1B6B2C
square
#1B326B #6B1B5A #6B541B #1B6B2C
split-complementary
#1B326B #6B2C1B #5A6B1B
monochromatic
#060B18 #0F1B3A #1B326B #27499C #3560CC

Accessibility & contrast

On white

12.24
#1B326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B326B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B326B#FFFFFF#000000##FFFFFF
##1B326B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b326b;
/* rgb */ color: rgb(27, 50, 107);
/* oklch */ color: oklch(33.4% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#636996',
    500: '#1b326b',
    950: '#000000',
  },
}
SCSS
$custom: #1b326b;
$custom-light: #636996;
$custom-dark: #000000;
JSON
{
  "hex": "#1b326b",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 222.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33391,
    "c": 0.10369,
    "h": 264.8
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#1B326B
secondary
#A08542
accent
#B545E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B326B

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

Preview Lab → · Contrast checker → · Palette generator →

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