#1B4F99#1B4F99

#1B4F99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.133 H 258.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#1B4F99
RGBrgb(27, 79, 153)
HSLhsl(215, 70%, 35%)
HSVhsv(215, 82%, 60%)
CMYKcmyk(82.4%, 48.4%, 0%, 40%)
CIE-LABlab(34.24, 11.31, -45.27)
CIE-LCHlch(34.24, 46.66, 284.03°)
OKLaboklab(43.65% -0.0274 -0.1301)
OKLCHoklch(43.65% 0.133 258.1)
XYZxyz(8.9956, 8.1238, 31.2248)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F99 #99651B
analogous
#1B8E99 #1B4F99 #261B99
triadic
#1B4F99 #991B4F #4F991B
tetradic
#1B4F99 #991B8E #99651B #1B9926
square
#1B4F99 #991B8E #99651B #1B9926
split-complementary
#1B4F99 #99261B #8E991B
monochromatic
#091931 #123465 #1B4F99 #246ACD #4F8BE0

Accessibility & contrast

On white

8.00
#1B4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4F99
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F99#FFFFFF#000000##FFFFFF
##1B4F991.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4f99;
/* rgb */ color: rgb(27, 79, 153);
/* oklch */ color: oklch(43.7% 0.133 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fb7',
    500: '#1b4f99',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f99;
$custom-light: #6d7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f99",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 215.238,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43653,
    "c": 0.13297,
    "h": 258.1
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#1B4F99
secondary
#C2924E
accent
#A33BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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