#1B3B96#1B3B96

#1B3B96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.154 H 265.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1B3B96
RGBrgb(27, 59, 150)
HSLhsl(224, 69%, 35%)
HSVhsv(224, 82%, 59%)
CMYKcmyk(82%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.28, 23.78, -53.11)
CIE-LCHlch(28.28, 58.19, 294.12°)
OKLaboklab(39.06% -0.0133 -0.1535)
OKLCHoklch(39.06% 0.154 265)
XYZxyz(7.5190, 5.5621, 29.5255)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3B96 #96761B
analogous
#1B7996 #1B3B96 #381B96
triadic
#1B3B96 #961B3B #3B961B
tetradic
#1B3B96 #961B79 #96761B #1B9638
square
#1B3B96 #961B79 #96761B #1B9638
split-complementary
#1B3B96 #96381B #79961B
monochromatic
#08122E #122762 #1B3B96 #244FCA #4D73DF

Accessibility & contrast

On white

9.94
#1B3B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B3B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3B96
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3B96#FFFFFF#000000##FFFFFF
##1B3B961.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3b96;
/* rgb */ color: rgb(27, 59, 150);
/* oklch */ color: oklch(39.1% 0.154 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e70b6',
    500: '#1b3b96',
    950: '#000000',
  },
}
SCSS
$custom: #1b3b96;
$custom-light: #6e70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3b96",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 224.39,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39055,
    "c": 0.15413,
    "h": 265
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#1B3B96
secondary
#C1A34C
accent
#BE3BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3B96

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

Preview Lab → · Contrast checker → · Palette generator →

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