#1B3256#1B3256

#1B3256 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.071 H 259.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1B3256
RGBrgb(27, 50, 86)
HSLhsl(217, 52%, 22%)
HSVhsv(217, 69%, 34%)
CMYKcmyk(68.6%, 41.9%, 0%, 66.3%)
CIE-LABlab(20.77, 4.14, -24.50)
CIE-LCHlch(20.77, 24.85, 279.60°)
OKLaboklab(31.82% -0.0135 -0.0696)
OKLCHoklch(31.82% 0.071 259)
XYZxyz(3.2717, 3.1858, 9.2448)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3256 #563F1B
analogous
#1B5056 #1B3256 #221B56
triadic
#1B3256 #561B32 #32561B
tetradic
#1B3256 #561B50 #563F1B #1B5622
square
#1B3256 #561B50 #563F1B #1B5622
split-complementary
#1B3256 #56221B #50561B
monochromatic
#070E17 #0C1727 #1B3256 #2A4D85 #3868B3

Accessibility & contrast

On white

12.83
#1B3256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B3256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3256
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3256#FFFFFF#000000##FFFFFF
##1B32561.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223557
Deuteranopia (green-blind)
#1A2F55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b3256;
/* rgb */ color: rgb(27, 50, 86);
/* oklch */ color: oklch(31.8% 0.071 259.0);
Tailwind
colors: {
  custom: {
    50: '#5e6986',
    500: '#1b3256',
    950: '#000000',
  },
}
SCSS
$custom: #1b3256;
$custom-light: #5e6986;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3256",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 216.61,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.07092,
    "h": 259
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#1B3256
secondary
#8C6F41
accent
#A44CDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1B3256

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

Preview Lab → · Contrast checker → · Palette generator →

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