#1B3682#1B3682

#1B3682 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.132 H 265.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1B3682
RGBrgb(27, 54, 130)
HSLhsl(224, 66%, 31%)
HSVhsv(224, 79%, 51%)
CMYKcmyk(79.2%, 58.5%, 0%, 49%)
CIE-LABlab(25.21, 19.23, -45.73)
CIE-LCHlch(25.21, 49.61, 292.80°)
OKLaboklab(36.23% -0.0107 -0.132)
OKLCHoklch(36.23% 0.132 265.4)
XYZxyz(5.7990, 4.4824, 21.6743)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3682 #82671B
analogous
#1B6982 #1B3682 #331B82
triadic
#1B3682 #821B36 #36821B
tetradic
#1B3682 #821B69 #82671B #1B8233
square
#1B3682 #821B69 #82671B #1B8233
split-complementary
#1B3682 #82331B #69821B
monochromatic
#060C1D #10214F #1B3682 #264BB5 #4068D7

Accessibility & contrast

On white

11.07
#1B3682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B3682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3682
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3682#FFFFFF#000000##FFFFFF
##1B36821.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3682;
/* rgb */ color: rgb(27, 54, 130);
/* oklch */ color: oklch(36.2% 0.132 265.4);
Tailwind
colors: {
  custom: {
    50: '#696ca7',
    500: '#1b3682',
    950: '#000000',
  },
}
SCSS
$custom: #1b3682;
$custom-light: #696ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3682",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 224.272,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36227,
    "c": 0.1324,
    "h": 265.4
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#1B3682
secondary
#B69843
accent
#BC3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3682

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

Preview Lab → · Contrast checker → · Palette generator →

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