#1B4482#1B4482

#1B4482 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.114 H 258.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1B4482
RGBrgb(27, 68, 130)
HSLhsl(216, 66%, 31%)
HSVhsv(216, 79%, 51%)
CMYKcmyk(79.2%, 47.7%, 0%, 49%)
CIE-LABlab(29.36, 9.45, -39.02)
CIE-LCHlch(29.36, 40.15, 283.62°)
OKLaboklab(39.39% -0.0223 -0.1119)
OKLCHoklch(39.39% 0.114 258.7)
XYZxyz(6.5469, 5.9782, 21.9236)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4482 #82591B
analogous
#1B7782 #1B4482 #261B82
triadic
#1B4482 #821B44 #44821B
tetradic
#1B4482 #821B77 #82591B #1B8226
square
#1B4482 #821B77 #82591B #1B8226
split-complementary
#1B4482 #82261B #77821B
monochromatic
#060F1D #10294F #1B4482 #265FB5 #407CD7

Accessibility & contrast

On white

9.56
#1B4482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B4482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4482
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4482#FFFFFF#000000##FFFFFF
##1B44821.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#0A4181
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4482;
/* rgb */ color: rgb(27, 68, 130);
/* oklch */ color: oklch(39.4% 0.114 258.7);
Tailwind
colors: {
  custom: {
    50: '#6877a7',
    500: '#1b4482',
    950: '#000000',
  },
}
SCSS
$custom: #1b4482;
$custom-light: #6877a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4482",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 216.117,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.11415,
    "h": 258.7
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#1B4482
secondary
#B68843
accent
#A53FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B4482

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

Preview Lab → · Contrast checker → · Palette generator →

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