#1B3D82#1B3D82

#1B3D82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.123 H 262.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1B3D82
RGBrgb(27, 61, 130)
HSLhsl(220, 66%, 31%)
HSVhsv(220, 79%, 51%)
CMYKcmyk(79.2%, 53.1%, 0%, 49%)
CIE-LABlab(27.25, 14.31, -42.42)
CIE-LCHlch(27.25, 44.77, 288.64°)
OKLaboklab(37.77% -0.0163 -0.1221)
OKLCHoklch(37.77% 0.123 262.4)
XYZxyz(6.1486, 5.1815, 21.7908)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D82 #82601B
analogous
#1B7082 #1B3D82 #2C1B82
triadic
#1B3D82 #821B3D #3D821B
tetradic
#1B3D82 #821B70 #82601B #1B822C
square
#1B3D82 #821B70 #82601B #1B822C
split-complementary
#1B3D82 #822C1B #70821B
monochromatic
#060D1D #10254F #1B3D82 #2655B5 #4072D7

Accessibility & contrast

On white

10.31
#1B3D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1B3D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D82
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D82#FFFFFF#000000##FFFFFF
##1B3D821.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3d82;
/* rgb */ color: rgb(27, 61, 130);
/* oklch */ color: oklch(37.8% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#6871a7',
    500: '#1b3d82',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d82;
$custom-light: #6871a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d82",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 220.194,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.12319,
    "h": 262.4
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#1B3D82
secondary
#B69043
accent
#B13FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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