#1B326E#1B326E

#1B326E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.108 H 265.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1B326E
RGBrgb(27, 50, 110)
HSLhsl(223, 61%, 27%)
HSVhsv(223, 75%, 43%)
CMYKcmyk(75.5%, 54.5%, 0%, 56.9%)
CIE-LABlab(22.44, 13.92, -37.52)
CIE-LCHlch(22.44, 40.01, 290.35°)
OKLaboklab(33.64% -0.009 -0.1079)
OKLCHoklch(33.64% 0.108 265.2)
XYZxyz(4.4061, 3.6395, 15.2191)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B326E #6E571B
analogous
#1B5C6E #1B326E #2D1B6E
triadic
#1B326E #6E1B32 #326E1B
tetradic
#1B326E #6E1B5C #6E571B #1B6E2D
square
#1B326E #6E1B5C #6E571B #1B6E2D
split-complementary
#1B326E #6E2D1B #5C6E1B
monochromatic
#060B19 #0F1C3D #1B326E #27489F #3660CE

Accessibility & contrast

On white

12.15
#1B326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B326E
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B326E#FFFFFF#000000##FFFFFF
##1B326E1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b326e;
/* rgb */ color: rgb(27, 50, 110);
/* oklch */ color: oklch(33.6% 0.108 265.2);
Tailwind
colors: {
  custom: {
    50: '#646998',
    500: '#1b326e',
    950: '#000000',
  },
}
SCSS
$custom: #1b326e;
$custom-light: #646998;
$custom-dark: #000000;
JSON
{
  "hex": "#1b326e",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 223.373,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33636,
    "c": 0.10826,
    "h": 265.2
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#1B326E
secondary
#A38842
accent
#B744E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B326E

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

Preview Lab → · Contrast checker → · Palette generator →

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