#1B3BA1#1B3BA1

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

Color values

HEX#1B3BA1
RGBrgb(27, 59, 161)
HSLhsl(226, 71%, 37%)
HSVhsv(226, 83%, 63%)
CMYKcmyk(83.2%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.24, 28.11, -58.23)
CIE-LCHlch(29.24, 64.66, 295.77°)
OKLaboklab(40.07% -0.0132 -0.1685)
OKLCHoklch(40.07% 0.169 265.5)
XYZxyz(8.4467, 5.9331, 34.4113)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3BA1 #A1811B
analogous
#1B7EA1 #1B3BA1 #3E1BA1
triadic
#1B3BA1 #A11B3B #3BA11B
tetradic
#1B3BA1 #A11B7E #A1811B #1BA13E
square
#1B3BA1 #A11B7E #A1811B #1BA13E
split-complementary
#1B3BA1 #A13E1B #7EA11B
monochromatic
#091538 #12286D #1B3BA1 #244ED5 #5476E2

Accessibility & contrast

On white

9.60
#1B3BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B3BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3BA1
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3BA1#FFFFFF#000000##FFFFFF
##1B3BA11.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3ba1;
/* rgb */ color: rgb(27, 59, 161);
/* oklch */ color: oklch(40.1% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#7170be',
    500: '#1b3ba1',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ba1;
$custom-light: #7170be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ba1",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 225.672,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.16906,
    "h": 265.5
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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