#1B4894#1B4894

#1B4894 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.135 H 260.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1B4894
RGBrgb(27, 72, 148)
HSLhsl(218, 69%, 34%)
HSVhsv(218, 82%, 58%)
CMYKcmyk(81.8%, 51.4%, 0%, 42%)
CIE-LABlab(31.82, 14.03, -46.14)
CIE-LCHlch(31.82, 48.23, 286.92°)
OKLaboklab(41.68% -0.0227 -0.1328)
OKLCHoklch(41.68% 0.135 260.3)
XYZxyz(8.1127, 7.0049, 28.9357)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4894 #94671B
analogous
#1B8594 #1B4894 #2B1B94
triadic
#1B4894 #941B48 #48941B
tetradic
#1B4894 #941B85 #94671B #1B942B
square
#1B4894 #941B85 #94671B #1B942B
split-complementary
#1B4894 #942B1B #85941B
monochromatic
#08162C #122F60 #1B4894 #2461C8 #4B82DE

Accessibility & contrast

On white

8.75
#1B4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1B4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4894
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4894#FFFFFF#000000##FFFFFF
##1B48941.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185197
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4894;
/* rgb */ color: rgb(27, 72, 148);
/* oklch */ color: oklch(41.7% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c7ab4',
    500: '#1b4894',
    950: '#000000',
  },
}
SCSS
$custom: #1b4894;
$custom-light: #6c7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4894",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 217.686,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41682,
    "c": 0.13475,
    "h": 260.3
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#1B4894
secondary
#C0944B
accent
#AA3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4894

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

Preview Lab → · Contrast checker → · Palette generator →

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