#1B3D9D#1B3D9D

#1B3D9D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.161 H 264.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1B3D9D
RGBrgb(27, 61, 157)
HSLhsl(224, 71%, 36%)
HSVhsv(224, 83%, 62%)
CMYKcmyk(82.8%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.42, 25.19, -55.51)
CIE-LCHlch(29.42, 60.96, 294.41°)
OKLaboklab(40.09% -0.0144 -0.1606)
OKLCHoklch(40.09% 0.161 264.9)
XYZxyz(8.2044, 6.0038, 32.6182)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D9D #9D7B1B
analogous
#1B7E9D #1B3D9D #3A1B9D
triadic
#1B3D9D #9D1B3D #3D9D1B
tetradic
#1B3D9D #9D1B7E #9D7B1B #1B9D3A
square
#1B3D9D #9D1B7E #9D7B1B #1B9D3A
split-complementary
#1B3D9D #9D3A1B #7E9D1B
monochromatic
#091435 #122969 #1B3D9D #2451D1 #5177E1

Accessibility & contrast

On white

9.54
#1B3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D9D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D9D#FFFFFF#000000##FFFFFF
##1B3D9D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3d9d;
/* rgb */ color: rgb(27, 61, 157);
/* oklch */ color: oklch(40.1% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f72bb',
    500: '#1b3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d9d;
$custom-light: #6f72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d9d",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 224.308,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.1612,
    "h": 264.9
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#1B3D9D
secondary
#C4A650
accent
#BF3AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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