#1B3E82#1B3E82

#1B3E82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.0% C 0.122 H 261.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#1B3E82
RGBrgb(27, 62, 130)
HSLhsl(220, 66%, 31%)
HSVhsv(220, 79%, 51%)
CMYKcmyk(79.2%, 52.3%, 0%, 49%)
CIE-LABlab(27.54, 13.61, -41.94)
CIE-LCHlch(27.54, 44.10, 287.98°)
OKLaboklab(38% -0.0171 -0.1207)
OKLCHoklch(38% 0.122 261.9)
XYZxyz(6.2024, 5.2893, 21.8088)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E82 #825F1B
analogous
#1B7182 #1B3E82 #2C1B82
triadic
#1B3E82 #821B3E #3E821B
tetradic
#1B3E82 #821B71 #825F1B #1B822C
square
#1B3E82 #821B71 #825F1B #1B822C
split-complementary
#1B3E82 #822C1B #71821B
monochromatic
#060E1D #10264F #1B3E82 #2656B5 #4073D7

Accessibility & contrast

On white

10.20
#1B3E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B3E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E82
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E82#FFFFFF#000000##FFFFFF
##1B3E821.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3e82;
/* rgb */ color: rgb(27, 62, 130);
/* oklch */ color: oklch(38.0% 0.122 261.9);
Tailwind
colors: {
  custom: {
    50: '#6872a7',
    500: '#1b3e82',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e82;
$custom-light: #6872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e82",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 219.612,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.12189,
    "h": 261.9
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#1B3E82
secondary
#B68F43
accent
#AF3FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B3E82

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

Preview Lab → · Contrast checker → · Palette generator →

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