#1B4897#1B4897

#1B4897 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.139 H 260.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1B4897
RGBrgb(27, 72, 151)
HSLhsl(218, 70%, 35%)
HSVhsv(218, 82%, 59%)
CMYKcmyk(82.1%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.04, 15.25, -47.61)
CIE-LCHlch(32.04, 50.00, 287.76°)
OKLaboklab(41.92% -0.0223 -0.1372)
OKLCHoklch(41.92% 0.139 260.8)
XYZxyz(8.3532, 7.1011, 30.2026)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4897 #976A1B
analogous
#1B8697 #1B4897 #2C1B97
triadic
#1B4897 #971B48 #48971B
tetradic
#1B4897 #971B86 #976A1B #1B972C
square
#1B4897 #971B86 #976A1B #1B972C
split-complementary
#1B4897 #972C1B #86971B
monochromatic
#08162F #122F63 #1B4897 #2461CB #4D82DF

Accessibility & contrast

On white

8.68
#1B4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4897
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4897#FFFFFF#000000##FFFFFF
##1B48971.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4897;
/* rgb */ color: rgb(27, 72, 151);
/* oklch */ color: oklch(41.9% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ab6',
    500: '#1b4897',
    950: '#000000',
  },
}
SCSS
$custom: #1b4897;
$custom-light: #6d7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4897",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 218.226,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.13896,
    "h": 260.8
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#1B4897
secondary
#C1974C
accent
#AC3BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4897

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

Preview Lab → · Contrast checker → · Palette generator →

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