#1B3186#1B3186

#1B3186 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.145 H 267.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1B3186
RGBrgb(27, 49, 134)
HSLhsl(228, 66%, 32%)
HSVhsv(228, 80%, 53%)
CMYKcmyk(79.9%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.16, 24.32, -49.94)
CIE-LCHlch(24.16, 55.55, 295.97°)
OKLaboklab(35.56% -0.0071 -0.1444)
OKLCHoklch(35.56% 0.145 267.2)
XYZxyz(5.8519, 4.1502, 23.0423)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3186 #86701B
analogous
#1B6786 #1B3186 #3B1B86
triadic
#1B3186 #861B31 #31861B
tetradic
#1B3186 #861B67 #86701B #1B863B
square
#1B3186 #861B67 #86701B #1B863B
split-complementary
#1B3186 #863B1B #67861B
monochromatic
#060C20 #111E53 #1B3186 #2544B9 #4261D9

Accessibility & contrast

On white

11.47
#1B3186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B3186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3186
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3186#FFFFFF#000000##FFFFFF
##1B31861.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3186;
/* rgb */ color: rgb(27, 49, 134);
/* oklch */ color: oklch(35.6% 0.145 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a68aa',
    500: '#1b3186',
    950: '#000000',
  },
}
SCSS
$custom: #1b3186;
$custom-light: #6a68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3186",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 227.664,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.14457,
    "h": 267.2
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#1B3186
secondary
#B9A144
accent
#C63EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3186

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

Preview Lab → · Contrast checker → · Palette generator →

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