#1B4B91#1B4B91

#1B4B91 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.1% C 0.127 H 258.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1B4B91
RGBrgb(27, 75, 145)
HSLhsl(216, 69%, 34%)
HSVhsv(216, 81%, 57%)
CMYKcmyk(81.4%, 48.3%, 0%, 43.1%)
CIE-LABlab(32.50, 10.78, -43.21)
CIE-LCHlch(32.50, 44.53, 284.00°)
OKLaboklab(42.14% -0.0256 -0.1241)
OKLCHoklch(42.14% 0.127 258.4)
XYZxyz(8.0770, 7.3085, 27.7676)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B91 #91611B
analogous
#1B8691 #1B4B91 #261B91
triadic
#1B4B91 #911B4B #4B911B
tetradic
#1B4B91 #911B86 #91611B #1B9126
square
#1B4B91 #911B86 #91611B #1B9126
split-complementary
#1B4B91 #91261B #86911B
monochromatic
#08162A #11305D #1B4B91 #2566C5 #4985DD

Accessibility & contrast

On white

8.53
#1B4B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B4B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B91
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B91#FFFFFF#000000##FFFFFF
##1B4B911.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4b91;
/* rgb */ color: rgb(27, 75, 145);
/* oklch */ color: oklch(42.1% 0.127 258.4);
Tailwind
colors: {
  custom: {
    50: '#6b7cb2',
    500: '#1b4b91',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b91;
$custom-light: #6b7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b91",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 215.593,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.12675,
    "h": 258.4
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#1B4B91
secondary
#BF8F49
accent
#A43CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B91

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

Preview Lab → · Contrast checker → · Palette generator →

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