#1B3AA1#1B3AA1

#1B3AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.170 H 265.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1B3AA1
RGBrgb(27, 58, 161)
HSLhsl(226, 71%, 37%)
HSVhsv(226, 83%, 63%)
CMYKcmyk(83.2%, 64%, 0%, 36.9%)
CIE-LABlab(28.98, 28.79, -58.65)
CIE-LCHlch(28.98, 65.34, 296.14°)
OKLaboklab(39.88% -0.0126 -0.1698)
OKLCHoklch(39.88% 0.17 265.7)
XYZxyz(8.3958, 5.8313, 34.3944)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3AA1 #A1821B
analogous
#1B7DA1 #1B3AA1 #3F1BA1
triadic
#1B3AA1 #A11B3A #3AA11B
tetradic
#1B3AA1 #A11B7D #A1821B #1BA13F
square
#1B3AA1 #A11B7D #A1821B #1BA13F
split-complementary
#1B3AA1 #A13F1B #7DA11B
monochromatic
#091438 #12276D #1B3AA1 #244DD5 #5475E2

Accessibility & contrast

On white

9.69
#1B3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B3AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3AA1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3AA1#FFFFFF#000000##FFFFFF
##1B3AA11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b3aa1;
/* rgb */ color: rgb(27, 58, 161);
/* oklch */ color: oklch(39.9% 0.170 265.7);
Tailwind
colors: {
  custom: {
    50: '#716fbe',
    500: '#1b3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1b3aa1;
$custom-light: #716fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3aa1",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 226.119,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.17028,
    "h": 265.7
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#1B3AA1
secondary
#C5AB52
accent
#C43AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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