#1B3261#1B3261

#1B3261 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.088 H 262.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1B3261
RGBrgb(27, 50, 97)
HSLhsl(220, 56%, 24%)
HSVhsv(220, 72%, 38%)
CMYKcmyk(72.2%, 48.5%, 0%, 62%)
CIE-LABlab(21.49, 8.60, -30.60)
CIE-LCHlch(21.49, 31.79, 285.69°)
OKLaboklab(32.61% -0.011 -0.0875)
OKLCHoklch(32.61% 0.088 262.8)
XYZxyz(3.7495, 3.3769, 11.7612)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3261 #614A1B
analogous
#1B5561 #1B3261 #271B61
triadic
#1B3261 #611B32 #32611B
tetradic
#1B3261 #611B55 #614A1B #1B6127
square
#1B3261 #611B55 #614A1B #1B6127
split-complementary
#1B3261 #61271B #55611B
monochromatic
#070C18 #0E1931 #1B3261 #284B91 #3663C1

Accessibility & contrast

On white

12.53
#1B3261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B3261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3261
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3261#FFFFFF#000000##FFFFFF
##1B32611.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3763
Deuteranopia (green-blind)
#0E3160
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3261;
/* rgb */ color: rgb(27, 50, 97);
/* oklch */ color: oklch(32.6% 0.088 262.8);
Tailwind
colors: {
  custom: {
    50: '#61698e',
    500: '#1b3261',
    950: '#000000',
  },
}
SCSS
$custom: #1b3261;
$custom-light: #61698e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3261",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 220.286,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.08823,
    "h": 262.8
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1B3261
secondary
#977B41
accent
#AE48E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B3261

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

Preview Lab → · Contrast checker → · Palette generator →

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