#1B3F96#1B3F96

#1B3F96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.149 H 263.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1B3F96
RGBrgb(27, 63, 150)
HSLhsl(222, 69%, 35%)
HSVhsv(222, 82%, 59%)
CMYKcmyk(82%, 58%, 0%, 41.2%)
CIE-LABlab(29.38, 21.03, -51.31)
CIE-LCHlch(29.38, 55.45, 292.29°)
OKLaboklab(39.88% -0.0159 -0.1482)
OKLCHoklch(39.88% 0.149 263.9)
XYZxyz(7.7326, 5.9891, 29.5967)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F96 #96721B
analogous
#1B7D96 #1B3F96 #341B96
triadic
#1B3F96 #961B3F #3F961B
tetradic
#1B3F96 #961B7D #96721B #1B9634
square
#1B3F96 #961B7D #96721B #1B9634
split-complementary
#1B3F96 #96341B #7D961B
monochromatic
#08132E #122962 #1B3F96 #2455CA #4D77DF

Accessibility & contrast

On white

9.55
#1B3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3F96
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F96#FFFFFF#000000##FFFFFF
##1B3F961.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3f96;
/* rgb */ color: rgb(27, 63, 150);
/* oklch */ color: oklch(39.9% 0.149 263.9);
Tailwind
colors: {
  custom: {
    50: '#6d73b6',
    500: '#1b3f96',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f96;
$custom-light: #6d73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f96",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 222.439,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.14904,
    "h": 263.9
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#1B3F96
secondary
#C19F4C
accent
#B93BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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