#1B3563#1B3563

#1B3563 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.5% C 0.087 H 260.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1B3563
RGBrgb(27, 53, 99)
HSLhsl(218, 57%, 25%)
HSVhsv(218, 73%, 39%)
CMYKcmyk(72.7%, 46.5%, 0%, 61.2%)
CIE-LABlab(22.58, 7.27, -30.17)
CIE-LCHlch(22.58, 31.03, 283.55°)
OKLaboklab(33.49% -0.0138 -0.0862)
OKLCHoklch(33.49% 0.087 260.9)
XYZxyz(3.9764, 3.6797, 12.3026)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3563 #63491B
analogous
#1B5963 #1B3563 #251B63
triadic
#1B3563 #631B35 #35631B
tetradic
#1B3563 #631B59 #63491B #1B6325
square
#1B3563 #631B59 #63491B #1B6325
split-complementary
#1B3563 #63251B #59631B
monochromatic
#070D18 #0E1B33 #1B3563 #284F93 #3568C3

Accessibility & contrast

On white

12.10
#1B3563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B3563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3563
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3563#FFFFFF#000000##FFFFFF
##1B35631.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#123362
Tritanopia (blue-blind)
#004047
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b3563;
/* rgb */ color: rgb(27, 53, 99);
/* oklch */ color: oklch(33.5% 0.087 260.9);
Tailwind
colors: {
  custom: {
    50: '#616b90',
    500: '#1b3563',
    950: '#000000',
  },
}
SCSS
$custom: #1b3563;
$custom-light: #616b90;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3563",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 99
  },
  "hsl": {
    "h": 218.333,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33491,
    "c": 0.08731,
    "h": 260.9
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#1B3563
secondary
#987941
accent
#A947E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B3563

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

Preview Lab → · Contrast checker → · Palette generator →

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