#1B4792#1B4792

#1B4792 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.133 H 260.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#1B4792
RGBrgb(27, 71, 146)
HSLhsl(218, 69%, 34%)
HSVhsv(218, 82%, 57%)
CMYKcmyk(81.5%, 51.4%, 0%, 42.7%)
CIE-LABlab(31.38, 13.91, -45.63)
CIE-LCHlch(31.38, 47.70, 286.95°)
OKLaboklab(41.3% -0.0222 -0.1313)
OKLCHoklch(41.3% 0.133 260.4)
XYZxyz(7.8917, 6.8139, 28.0878)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4792 #92661B
analogous
#1B8392 #1B4792 #2B1B92
triadic
#1B4792 #921B47 #47921B
tetradic
#1B4792 #921B83 #92661B #1B922B
square
#1B4792 #921B83 #92661B #1B922B
split-complementary
#1B4792 #922B1B #83921B
monochromatic
#08152B #112E5E #1B4792 #2560C6 #4A80DE

Accessibility & contrast

On white

8.89
#1B4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4792
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4792#FFFFFF#000000##FFFFFF
##1B47921.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185095
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4792;
/* rgb */ color: rgb(27, 71, 146);
/* oklch */ color: oklch(41.3% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c79b2',
    500: '#1b4792',
    950: '#000000',
  },
}
SCSS
$custom: #1b4792;
$custom-light: #6c79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4792",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 217.815,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.13319,
    "h": 260.4
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#1B4792
secondary
#BF9449
accent
#AB3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4792

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

Preview Lab → · Contrast checker → · Palette generator →

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