#1B326F#1B326F

#1B326F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.110 H 265.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1B326F
RGBrgb(27, 50, 111)
HSLhsl(224, 61%, 27%)
HSVhsv(224, 76%, 44%)
CMYKcmyk(75.7%, 55%, 0%, 56.5%)
CIE-LABlab(22.52, 14.33, -38.03)
CIE-LCHlch(22.52, 40.64, 290.64°)
OKLaboklab(33.72% -0.0089 -0.1094)
OKLCHoklch(33.72% 0.11 265.3)
XYZxyz(4.4608, 3.6614, 15.5075)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B326F #6F581B
analogous
#1B5C6F #1B326F #2E1B6F
triadic
#1B326F #6F1B32 #326F1B
tetradic
#1B326F #6F1B5C #6F581B #1B6F2E
square
#1B326F #6F1B5C #6F581B #1B6F2E
split-complementary
#1B326F #6F2E1B #5C6F1B
monochromatic
#060B19 #0F1C3E #1B326F #2748A0 #3660CE

Accessibility & contrast

On white

12.12
#1B326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B326F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B326F#FFFFFF#000000##FFFFFF
##1B326F1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A71
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b326f;
/* rgb */ color: rgb(27, 50, 111);
/* oklch */ color: oklch(33.7% 0.110 265.3);
Tailwind
colors: {
  custom: {
    50: '#646999',
    500: '#1b326f',
    950: '#000000',
  },
}
SCSS
$custom: #1b326f;
$custom-light: #646999;
$custom-dark: #000000;
JSON
{
  "hex": "#1b326f",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 223.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.10976,
    "h": 265.3
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#1B326F
secondary
#A48942
accent
#B844E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B326F

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

Preview Lab → · Contrast checker → · Palette generator →

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