#1B3A96#1B3A96

#1B3A96 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.155 H 265.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1B3A96
RGBrgb(27, 58, 150)
HSLhsl(225, 69%, 35%)
HSVhsv(225, 82%, 59%)
CMYKcmyk(82%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.01, 24.47, -53.55)
CIE-LCHlch(28.01, 58.88, 294.55°)
OKLaboklab(38.85% -0.0127 -0.1549)
OKLCHoklch(38.85% 0.155 265.3)
XYZxyz(7.4681, 5.4602, 29.5086)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A96 #96771B
analogous
#1B7896 #1B3A96 #391B96
triadic
#1B3A96 #961B3A #3A961B
tetradic
#1B3A96 #961B78 #96771B #1B9639
square
#1B3A96 #961B78 #96771B #1B9639
split-complementary
#1B3A96 #96391B #78961B
monochromatic
#08122E #122662 #1B3A96 #244ECA #4D71DF

Accessibility & contrast

On white

10.04
#1B3A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B3A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A96
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A96#FFFFFF#000000##FFFFFF
##1B3A961.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3a96;
/* rgb */ color: rgb(27, 58, 150);
/* oklch */ color: oklch(38.9% 0.155 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e6fb6',
    500: '#1b3a96',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a96;
$custom-light: #6e6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a96",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 224.878,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38852,
    "c": 0.15538,
    "h": 265.3
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3A96

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

Preview Lab → · Contrast checker → · Palette generator →

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