#1B4F9E#1B4F9E

#1B4F9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.140 H 259.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1B4F9E
RGBrgb(27, 79, 158)
HSLhsl(216, 71%, 36%)
HSVhsv(216, 83%, 62%)
CMYKcmyk(82.9%, 50%, 0%, 38%)
CIE-LABlab(34.58, 13.33, -47.73)
CIE-LCHlch(34.58, 49.56, 285.60°)
OKLaboklab(44.03% -0.0266 -0.1373)
OKLCHoklch(44.03% 0.14 259)
XYZxyz(9.4173, 8.2924, 33.4454)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F9E #9E6A1B
analogous
#1B919E #1B4F9E #281B9E
triadic
#1B4F9E #9E1B4F #4F9E1B
tetradic
#1B4F9E #9E1B91 #9E6A1B #1B9E28
square
#1B4F9E #9E1B91 #9E6A1B #1B9E28
split-complementary
#1B4F9E #9E281B #919E1B
monochromatic
#091B35 #12356A #1B4F9E #2469D2 #528BE1

Accessibility & contrast

On white

7.90
#1B4F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1B4F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F9E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F9E#FFFFFF#000000##FFFFFF
##1B4F9E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4f9e;
/* rgb */ color: rgb(27, 79, 158);
/* oklch */ color: oklch(44.0% 0.140 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fbb',
    500: '#1b4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f9e;
$custom-light: #6e7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f9e",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 216.183,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.13991,
    "h": 259
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#1B4F9E
secondary
#C49651
accent
#A63AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1B4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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