#1B4CA6#1B4CA6

#1B4CA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.155 H 261.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1B4CA6
RGBrgb(27, 76, 166)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 65%)
CMYKcmyk(83.7%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.30, 18.57, -52.99)
CIE-LCHlch(34.30, 56.15, 289.31°)
OKLaboklab(44% -0.0234 -0.1529)
OKLCHoklch(44% 0.155 261.3)
XYZxyz(9.9169, 8.1538, 37.1202)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4CA6 #A6751B
analogous
#1B91A6 #1B4CA6 #2F1BA6
triadic
#1B4CA6 #A61B4C #4CA61B
tetradic
#1B4CA6 #A61B91 #A6751B #1BA62F
square
#1B4CA6 #A61B91 #A6751B #1BA62F
split-complementary
#1B4CA6 #A62F1B #91A61B
monochromatic
#0A1C3D #123471 #1B4CA6 #2464DB #5889E4

Accessibility & contrast

On white

7.98
#1B4CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1B4CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4CA6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4CA6#FFFFFF#000000##FFFFFF
##1B4CA61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4ca6;
/* rgb */ color: rgb(27, 76, 166);
/* oklch */ color: oklch(44.0% 0.155 261.3);
Tailwind
colors: {
  custom: {
    50: '#717dc1',
    500: '#1b4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ca6;
$custom-light: #717dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ca6",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 218.849,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.15467,
    "h": 261.3
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#1B4CA6
secondary
#C79F56
accent
#AF39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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