#1B3D9B#1B3D9B

#1B3D9B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.158 H 264.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#1B3D9B
RGBrgb(27, 61, 155)
HSLhsl(224, 70%, 36%)
HSVhsv(224, 83%, 61%)
CMYKcmyk(82.6%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.25, 24.40, -54.57)
CIE-LCHlch(29.25, 59.78, 294.09°)
OKLaboklab(39.91% -0.0144 -0.1578)
OKLCHoklch(39.91% 0.158 264.8)
XYZxyz(8.0350, 5.9361, 31.7263)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D9B #9B791B
analogous
#1B7D9B #1B3D9B #391B9B
triadic
#1B3D9B #9B1B3D #3D9B1B
tetradic
#1B3D9B #9B1B7D #9B791B #1B9B39
square
#1B3D9B #9B1B7D #9B791B #1B9B39
split-complementary
#1B3D9B #9B391B #7D9B1B
monochromatic
#091433 #122867 #1B3D9B #2452CF #5076E0

Accessibility & contrast

On white

9.60
#1B3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B3D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D9B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D9B#FFFFFF#000000##FFFFFF
##1B3D9B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3d9b;
/* rgb */ color: rgb(27, 61, 155);
/* oklch */ color: oklch(39.9% 0.158 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f72b9',
    500: '#1b3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d9b;
$custom-light: #6f72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d9b",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 224.063,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.15847,
    "h": 264.8
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#1B3D9B
secondary
#C3A44F
accent
#BE3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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