#1B3255#1B3255

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

Color values

HEX#1B3255
RGBrgb(27, 50, 85)
HSLhsl(216, 52%, 22%)
HSVhsv(216, 68%, 33%)
CMYKcmyk(68.2%, 41.2%, 0%, 66.7%)
CIE-LABlab(20.71, 3.74, -23.94)
CIE-LCHlch(20.71, 24.23, 278.89°)
OKLaboklab(31.75% -0.0138 -0.068)
OKLCHoklch(31.75% 0.069 258.6)
XYZxyz(3.2317, 3.1698, 9.0341)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3255 #553E1B
analogous
#1B4F55 #1B3255 #211B55
triadic
#1B3255 #551B32 #32551B
tetradic
#1B3255 #551B4F #553E1B #1B5521
square
#1B3255 #551B4F #553E1B #1B5521
split-complementary
#1B3255 #55211B #4F551B
monochromatic
#070E17 #0C1727 #1B3255 #2A4D83 #3969B2

Accessibility & contrast

On white

12.85
#1B3255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B3255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3255
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3255#FFFFFF#000000##FFFFFF
##1B32551.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3255;
/* rgb */ color: rgb(27, 50, 85);
/* oklch */ color: oklch(31.8% 0.069 258.6);
Tailwind
colors: {
  custom: {
    50: '#5e6985',
    500: '#1b3255',
    950: '#000000',
  },
}
SCSS
$custom: #1b3255;
$custom-light: #5e6985;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3255",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 216.207,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.06936,
    "h": 258.6
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#1B3255
secondary
#8B6E41
accent
#A34DDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1B3255

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

Preview Lab → · Contrast checker → · Palette generator →

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