#1B3F82#1B3F82

#1B3F82 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.2% C 0.121 H 261.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1B3F82
RGBrgb(27, 63, 130)
HSLhsl(219, 66%, 31%)
HSVhsv(219, 79%, 51%)
CMYKcmyk(79.2%, 51.5%, 0%, 49%)
CIE-LABlab(27.84, 12.92, -41.46)
CIE-LCHlch(27.84, 43.43, 287.30°)
OKLaboklab(38.23% -0.0179 -0.1192)
OKLCHoklch(38.23% 0.121 261.4)
XYZxyz(6.2573, 5.3990, 21.8271)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F82 #825E1B
analogous
#1B7282 #1B3F82 #2A1B82
triadic
#1B3F82 #821B3F #3F821B
tetradic
#1B3F82 #821B72 #825E1B #1B822A
square
#1B3F82 #821B72 #825E1B #1B822A
split-complementary
#1B3F82 #822A1B #72821B
monochromatic
#060E1D #10264F #1B3F82 #2658B5 #4075D7

Accessibility & contrast

On white

10.10
#1B3F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B3F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F82
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F82#FFFFFF#000000##FFFFFF
##1B3F821.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164784
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3f82;
/* rgb */ color: rgb(27, 63, 130);
/* oklch */ color: oklch(38.2% 0.121 261.4);
Tailwind
colors: {
  custom: {
    50: '#6873a7',
    500: '#1b3f82',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f82;
$custom-light: #6873a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f82",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 219.029,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38226,
    "c": 0.12057,
    "h": 261.4
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#1B3F82
secondary
#B68E43
accent
#AD3FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B3F82

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

Preview Lab → · Contrast checker → · Palette generator →

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