#1B3D96#1B3D96

#1B3D96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.152 H 264.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#1B3D96
RGBrgb(27, 61, 150)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 82%, 59%)
CMYKcmyk(82%, 59.3%, 0%, 41.2%)
CIE-LABlab(28.83, 22.41, -52.21)
CIE-LCHlch(28.83, 56.82, 293.23°)
OKLaboklab(39.47% -0.0146 -0.1509)
OKLCHoklch(39.47% 0.152 264.5)
XYZxyz(7.6238, 5.7716, 29.5605)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D96 #96741B
analogous
#1B7A96 #1B3D96 #371B96
triadic
#1B3D96 #961B3D #3D961B
tetradic
#1B3D96 #961B7A #96741B #1B9637
square
#1B3D96 #961B7A #96741B #1B9637
split-complementary
#1B3D96 #96371B #7A961B
monochromatic
#08132E #122862 #1B3D96 #2452CA #4D75DF

Accessibility & contrast

On white

9.75
#1B3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B3D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D96
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D96#FFFFFF#000000##FFFFFF
##1B3D961.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b3d96;
/* rgb */ color: rgb(27, 61, 150);
/* oklch */ color: oklch(39.5% 0.152 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#1b3d96',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d96;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d96",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 223.415,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.15159,
    "h": 264.5
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#1B3D96
secondary
#C1A14C
accent
#BB3BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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