#1B4595#1B4595

#1B4595 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.140 H 261.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1B4595
RGBrgb(27, 69, 149)
HSLhsl(219, 69%, 35%)
HSVhsv(219, 82%, 58%)
CMYKcmyk(81.9%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.02, 16.50, -48.05)
CIE-LCHlch(31.02, 50.80, 288.95°)
OKLaboklab(41.09% -0.0203 -0.1385)
OKLCHoklch(41.09% 0.14 261.7)
XYZxyz(8.0030, 6.6582, 29.2913)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4595 #956B1B
analogous
#1B8295 #1B4595 #2E1B95
triadic
#1B4595 #951B45 #45951B
tetradic
#1B4595 #951B82 #956B1B #1B952E
square
#1B4595 #951B82 #956B1B #1B952E
split-complementary
#1B4595 #952E1B #82951B
monochromatic
#08152D #122D61 #1B4595 #245DC9 #4C7EDF

Accessibility & contrast

On white

9.01
#1B4595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B4595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4595
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4595#FFFFFF#000000##FFFFFF
##1B45951.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4595;
/* rgb */ color: rgb(27, 69, 149);
/* oklch */ color: oklch(41.1% 0.140 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d78b5',
    500: '#1b4595',
    950: '#000000',
  },
}
SCSS
$custom: #1b4595;
$custom-light: #6d78b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4595",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 219.344,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.13997,
    "h": 261.7
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#1B4595
secondary
#C1984B
accent
#AF3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4595

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

Preview Lab → · Contrast checker → · Palette generator →

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