#1B3BA0#1B3BA0

#1B3BA0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.168 H 265.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1B3BA0
RGBrgb(27, 59, 160)
HSLhsl(226, 71%, 37%)
HSVhsv(226, 83%, 63%)
CMYKcmyk(83.1%, 63.1%, 0%, 37.3%)
CIE-LABlab(29.15, 27.72, -57.77)
CIE-LCHlch(29.15, 64.08, 295.64°)
OKLaboklab(39.98% -0.0132 -0.1672)
OKLCHoklch(39.98% 0.168 265.5)
XYZxyz(8.3589, 5.8980, 33.9488)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3BA0 #A0801B
analogous
#1B7EA0 #1B3BA0 #3E1BA0
triadic
#1B3BA0 #A01B3B #3BA01B
tetradic
#1B3BA0 #A01B7E #A0801B #1BA03E
square
#1B3BA0 #A01B7E #A0801B #1BA03E
split-complementary
#1B3BA0 #A03E1B #7EA01B
monochromatic
#091437 #12286C #1B3BA0 #244ED4 #5376E2

Accessibility & contrast

On white

9.63
#1B3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B3BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3BA0
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3BA0#FFFFFF#000000##FFFFFF
##1B3BA01.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3ba0;
/* rgb */ color: rgb(27, 59, 160);
/* oklch */ color: oklch(40.0% 0.168 265.5);
Tailwind
colors: {
  custom: {
    50: '#7070bd',
    500: '#1b3ba0',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ba0;
$custom-light: #7070bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ba0",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 225.564,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.16772,
    "h": 265.5
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#1B3BA0
secondary
#C5A952
accent
#C33AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B3BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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