#1B3C82#1B3C82

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

Color values

HEX#1B3C82
RGBrgb(27, 60, 130)
HSLhsl(221, 66%, 31%)
HSVhsv(221, 79%, 51%)
CMYKcmyk(79.2%, 53.8%, 0%, 49%)
CIE-LABlab(26.95, 15.01, -42.90)
CIE-LCHlch(26.95, 45.45, 289.29°)
OKLaboklab(37.55% -0.0154 -0.1235)
OKLCHoklch(37.55% 0.125 262.9)
XYZxyz(6.0957, 5.0757, 21.7732)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C82 #82611B
analogous
#1B6F82 #1B3C82 #2E1B82
triadic
#1B3C82 #821B3C #3C821B
tetradic
#1B3C82 #821B6F #82611B #1B822E
square
#1B3C82 #821B6F #82611B #1B822E
split-complementary
#1B3C82 #822E1B #6F821B
monochromatic
#060D1D #10254F #1B3C82 #2653B5 #4071D7

Accessibility & contrast

On white

10.42
#1B3C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1B3C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C82
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C82#FFFFFF#000000##FFFFFF
##1B3C821.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4584
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3c82;
/* rgb */ color: rgb(27, 60, 130);
/* oklch */ color: oklch(37.5% 0.124 262.9);
Tailwind
colors: {
  custom: {
    50: '#6871a7',
    500: '#1b3c82',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c82;
$custom-light: #6871a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c82",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 220.777,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37545,
    "c": 0.1245,
    "h": 262.9
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#1B3C82
secondary
#B69143
accent
#B23FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3C82

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

Preview Lab → · Contrast checker → · Palette generator →

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