#1B4B9F#1B4B9F

#1B4B9F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.146 H 260.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#1B4B9F
RGBrgb(27, 75, 159)
HSLhsl(218, 71%, 36%)
HSVhsv(218, 83%, 62%)
CMYKcmyk(83%, 52.8%, 0%, 37.6%)
CIE-LABlab(33.49, 16.44, -50.10)
CIE-LCHlch(33.49, 52.72, 288.17°)
OKLaboklab(43.22% -0.0235 -0.1444)
OKLCHoklch(43.22% 0.146 260.7)
XYZxyz(9.2238, 7.7672, 33.8073)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B9F #9F6F1B
analogous
#1B8D9F #1B4B9F #2D1B9F
triadic
#1B4B9F #9F1B4B #4B9F1B
tetradic
#1B4B9F #9F1B8D #9F6F1B #1B9F2D
square
#1B4B9F #9F1B8D #9F6F1B #1B9F2D
split-complementary
#1B4B9F #9F2D1B #8D9F1B
monochromatic
#091A36 #12326B #1B4B9F #2464D3 #5387E2

Accessibility & contrast

On white

8.22
#1B4B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B4B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B9F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B9F#FFFFFF#000000##FFFFFF
##1B4B9F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4b9f;
/* rgb */ color: rgb(27, 75, 159);
/* oklch */ color: oklch(43.2% 0.146 260.7);
Tailwind
colors: {
  custom: {
    50: '#6f7cbc',
    500: '#1b4b9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b9f;
$custom-light: #6f7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b9f",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 218.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.1463,
    "h": 260.7
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#1B4B9F
secondary
#C59B51
accent
#AC3AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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