#1B3CA1#1B3CA1

#1B3CA1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.168 H 265.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1B3CA1
RGBrgb(27, 60, 161)
HSLhsl(225, 71%, 37%)
HSVhsv(225, 83%, 63%)
CMYKcmyk(83.2%, 62.7%, 0%, 36.9%)
CIE-LABlab(29.51, 27.44, -57.80)
CIE-LCHlch(29.51, 63.98, 295.40°)
OKLaboklab(40.26% -0.0137 -0.1673)
OKLCHoklch(40.26% 0.168 265.3)
XYZxyz(8.4986, 6.0369, 34.4286)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3CA1 #A1801B
analogous
#1B7FA1 #1B3CA1 #3D1BA1
triadic
#1B3CA1 #A11B3C #3CA11B
tetradic
#1B3CA1 #A11B7F #A1801B #1BA13D
square
#1B3CA1 #A11B7F #A1801B #1BA13D
split-complementary
#1B3CA1 #A13D1B #7FA11B
monochromatic
#091538 #12286D #1B3CA1 #2450D5 #5477E2

Accessibility & contrast

On white

9.51
#1B3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3CA1
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3CA1#FFFFFF#000000##FFFFFF
##1B3CA11.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3ca1;
/* rgb */ color: rgb(27, 60, 161);
/* oklch */ color: oklch(40.3% 0.168 265.3);
Tailwind
colors: {
  custom: {
    50: '#7071be',
    500: '#1b3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ca1;
$custom-light: #7071be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ca1",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 225.224,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.16784,
    "h": 265.3
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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