#1B3AA0#1B3AA0

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

Color values

HEX#1B3AA0
RGBrgb(27, 58, 160)
HSLhsl(226, 71%, 37%)
HSVhsv(226, 83%, 63%)
CMYKcmyk(83.1%, 63.8%, 0%, 37.3%)
CIE-LABlab(28.89, 28.40, -58.20)
CIE-LCHlch(28.89, 64.75, 296.01°)
OKLaboklab(39.78% -0.0126 -0.1685)
OKLCHoklch(39.78% 0.169 265.7)
XYZxyz(8.3080, 5.7962, 33.9318)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3AA0 #A0811B
analogous
#1B7DA0 #1B3AA0 #3F1BA0
triadic
#1B3AA0 #A01B3A #3AA01B
tetradic
#1B3AA0 #A01B7D #A0811B #1BA03F
square
#1B3AA0 #A01B7D #A0811B #1BA03F
split-complementary
#1B3AA0 #A03F1B #7DA01B
monochromatic
#091437 #12276C #1B3AA0 #244DD4 #5375E2

Accessibility & contrast

On white

9.72
#1B3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B3AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3AA0
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3AA0#FFFFFF#000000##FFFFFF
##1B3AA01.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b3aa0;
/* rgb */ color: rgb(27, 58, 160);
/* oklch */ color: oklch(39.8% 0.169 265.7);
Tailwind
colors: {
  custom: {
    50: '#706fbd',
    500: '#1b3aa0',
    950: '#000000',
  },
}
SCSS
$custom: #1b3aa0;
$custom-light: #706fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3aa0",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 226.015,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.16894,
    "h": 265.7
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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