#1B4EA6#1B4EA6

#1B4EA6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.152 H 260.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#1B4EA6
RGBrgb(27, 78, 166)
HSLhsl(218, 72%, 38%)
HSVhsv(218, 84%, 65%)
CMYKcmyk(83.7%, 53%, 0%, 34.9%)
CIE-LABlab(34.87, 17.22, -52.07)
CIE-LCHlch(34.87, 54.84, 288.30°)
OKLaboklab(44.43% -0.0248 -0.1501)
OKLCHoklch(44.43% 0.152 260.6)
XYZxyz(10.0568, 8.4337, 37.1668)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4EA6 #A6731B
analogous
#1B93A6 #1B4EA6 #2E1BA6
triadic
#1B4EA6 #A61B4E #4EA61B
tetradic
#1B4EA6 #A61B93 #A6731B #1BA62E
square
#1B4EA6 #A61B93 #A6731B #1BA62E
split-complementary
#1B4EA6 #A62E1B #93A61B
monochromatic
#0A1D3D #123571 #1B4EA6 #2467DB #588BE4

Accessibility & contrast

On white

7.82
#1B4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4EA6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4EA6#FFFFFF#000000##FFFFFF
##1B4EA61.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b4ea6;
/* rgb */ color: rgb(27, 78, 166);
/* oklch */ color: oklch(44.4% 0.152 260.6);
Tailwind
colors: {
  custom: {
    50: '#707ec1',
    500: '#1b4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ea6;
$custom-light: #707ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ea6",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 217.986,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.15218,
    "h": 260.6
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#1B4EA6
secondary
#C79E56
accent
#AC39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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