#1B4F9F#1B4F9F

#1B4F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.141 H 259.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1B4F9F
RGBrgb(27, 79, 159)
HSLhsl(216, 71%, 36%)
HSVhsv(216, 83%, 62%)
CMYKcmyk(83%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.65, 13.73, -48.22)
CIE-LCHlch(34.65, 50.14, 285.90°)
OKLaboklab(44.11% -0.0265 -0.1388)
OKLCHoklch(44.11% 0.141 259.2)
XYZxyz(9.5037, 8.3270, 33.9006)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F9F #9F6B1B
analogous
#1B919F #1B4F9F #291B9F
triadic
#1B4F9F #9F1B4F #4F9F1B
tetradic
#1B4F9F #9F1B91 #9F6B1B #1B9F29
square
#1B4F9F #9F1B91 #9F6B1B #1B9F29
split-complementary
#1B4F9F #9F291B #919F1B
monochromatic
#091B36 #12356B #1B4F9F #2469D3 #538BE2

Accessibility & contrast

On white

7.88
#1B4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1B4F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F9F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F9F#FFFFFF#000000##FFFFFF
##1B4F9F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4f9f;
/* rgb */ color: rgb(27, 79, 159);
/* oklch */ color: oklch(44.1% 0.141 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f7fbc',
    500: '#1b4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f9f;
$custom-light: #6f7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f9f",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 216.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.1413,
    "h": 259.2
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#1B4F9F
secondary
#C59751
accent
#A73AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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