#1B4793#1B4793

#1B4793 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.135 H 260.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1B4793
RGBrgb(27, 71, 147)
HSLhsl(218, 69%, 34%)
HSVhsv(218, 82%, 58%)
CMYKcmyk(81.6%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.45, 14.31, -46.12)
CIE-LCHlch(31.45, 48.29, 287.24°)
OKLaboklab(41.38% -0.0221 -0.1328)
OKLCHoklch(41.38% 0.135 260.6)
XYZxyz(7.9698, 6.8451, 28.4993)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4793 #93671B
analogous
#1B8393 #1B4793 #2B1B93
triadic
#1B4793 #931B47 #47931B
tetradic
#1B4793 #931B83 #93671B #1B932B
square
#1B4793 #931B83 #93671B #1B932B
split-complementary
#1B4793 #932B1B #83931B
monochromatic
#08152C #122E5F #1B4793 #2460C7 #4B81DE

Accessibility & contrast

On white

8.86
#1B4793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B4793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4793
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4793#FFFFFF#000000##FFFFFF
##1B47931.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165096
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4793;
/* rgb */ color: rgb(27, 71, 147);
/* oklch */ color: oklch(41.4% 0.135 260.6);
Tailwind
colors: {
  custom: {
    50: '#6c79b3',
    500: '#1b4793',
    950: '#000000',
  },
}
SCSS
$custom: #1b4793;
$custom-light: #6c79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4793",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 218,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.13461,
    "h": 260.6
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#1B4793
secondary
#C0954A
accent
#AB3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4793

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

Preview Lab → · Contrast checker → · Palette generator →

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