#1B4892#1B4892

#1B4892 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.132 H 260.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1B4892
RGBrgb(27, 72, 146)
HSLhsl(217, 69%, 34%)
HSVhsv(217, 82%, 57%)
CMYKcmyk(81.5%, 50.7%, 0%, 42.7%)
CIE-LABlab(31.67, 13.22, -45.15)
CIE-LCHlch(31.67, 47.05, 286.32°)
OKLaboklab(41.53% -0.023 -0.1299)
OKLCHoklch(41.53% 0.132 260)
XYZxyz(7.9558, 6.9421, 28.1092)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4892 #92651B
analogous
#1B8492 #1B4892 #2A1B92
triadic
#1B4892 #921B48 #48921B
tetradic
#1B4892 #921B84 #92651B #1B922A
square
#1B4892 #921B84 #92651B #1B922A
split-complementary
#1B4892 #922A1B #84921B
monochromatic
#08152B #112F5E #1B4892 #2561C6 #4A82DE

Accessibility & contrast

On white

8.79
#1B4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4892
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4892#FFFFFF#000000##FFFFFF
##1B48921.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5095
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4892;
/* rgb */ color: rgb(27, 72, 146);
/* oklch */ color: oklch(41.5% 0.132 260.0);
Tailwind
colors: {
  custom: {
    50: '#6c7ab2',
    500: '#1b4892',
    950: '#000000',
  },
}
SCSS
$custom: #1b4892;
$custom-light: #6c7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4892",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 217.311,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.13193,
    "h": 260
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#1B4892
secondary
#BF9349
accent
#A93CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4892

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

Preview Lab → · Contrast checker → · Palette generator →

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