#1B3C81#1B3C81

#1B3C81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.5% C 0.123 H 262.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#1B3C81
RGBrgb(27, 60, 129)
HSLhsl(221, 65%, 31%)
HSVhsv(221, 79%, 51%)
CMYKcmyk(79.1%, 53.5%, 0%, 49.4%)
CIE-LABlab(26.87, 14.60, -42.40)
CIE-LCHlch(26.87, 44.85, 289.00°)
OKLaboklab(37.46% -0.0156 -0.1221)
OKLCHoklch(37.46% 0.123 262.7)
XYZxyz(6.0289, 5.0490, 21.4214)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C81 #81601B
analogous
#1B6F81 #1B3C81 #2D1B81
triadic
#1B3C81 #811B3C #3C811B
tetradic
#1B3C81 #811B6F #81601B #1B812D
square
#1B3C81 #811B6F #81601B #1B812D
split-complementary
#1B3C81 #812D1B #6F811B
monochromatic
#060D1C #10244E #1B3C81 #2654B4 #3F70D7

Accessibility & contrast

On white

10.45
#1B3C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C81
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C81#FFFFFF#000000##FFFFFF
##1B3C811.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3c81;
/* rgb */ color: rgb(27, 60, 129);
/* oklch */ color: oklch(37.5% 0.123 262.7);
Tailwind
colors: {
  custom: {
    50: '#6871a6',
    500: '#1b3c81',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c81;
$custom-light: #6871a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c81",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 220.588,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.12305,
    "h": 262.7
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#1B3C81
secondary
#B59043
accent
#B23FE8
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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