#1B3F86#1B3F86

#1B3F86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.126 H 262.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1B3F86
RGBrgb(27, 63, 134)
HSLhsl(220, 66%, 32%)
HSVhsv(220, 80%, 53%)
CMYKcmyk(79.9%, 53%, 0%, 47.5%)
CIE-LABlab(28.14, 14.55, -43.48)
CIE-LCHlch(28.14, 45.84, 288.50°)
OKLaboklab(38.55% -0.0174 -0.1252)
OKLCHoklch(38.55% 0.126 262.1)
XYZxyz(6.5310, 5.5085, 23.2687)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F86 #86621B
analogous
#1B7586 #1B3F86 #2D1B86
triadic
#1B3F86 #861B3F #3F861B
tetradic
#1B3F86 #861B75 #86621B #1B862D
square
#1B3F86 #861B75 #86621B #1B862D
split-complementary
#1B3F86 #862D1B #75861B
monochromatic
#060F20 #112753 #1B3F86 #2557B9 #4275D9

Accessibility & contrast

On white

9.99
#1B3F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B3F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F86
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F86#FFFFFF#000000##FFFFFF
##1B3F861.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3f86;
/* rgb */ color: rgb(27, 63, 134);
/* oklch */ color: oklch(38.5% 0.126 262.1);
Tailwind
colors: {
  custom: {
    50: '#6973aa',
    500: '#1b3f86',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f86;
$custom-light: #6973aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f86",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 219.813,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.12637,
    "h": 262.1
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#1B3F86
secondary
#B99244
accent
#B03EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3F86

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

Preview Lab → · Contrast checker → · Palette generator →

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