#1B4794#1B4794

#1B4794 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.136 H 260.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1B4794
RGBrgb(27, 71, 148)
HSLhsl(218, 69%, 34%)
HSVhsv(218, 82%, 58%)
CMYKcmyk(81.8%, 52%, 0%, 42%)
CIE-LABlab(31.52, 14.72, -46.61)
CIE-LCHlch(31.52, 48.88, 287.52°)
OKLaboklab(41.46% -0.0219 -0.1342)
OKLCHoklch(41.46% 0.136 260.7)
XYZxyz(8.0486, 6.8766, 28.9144)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4794 #94681B
analogous
#1B8494 #1B4794 #2C1B94
triadic
#1B4794 #941B47 #47941B
tetradic
#1B4794 #941B84 #94681B #1B942C
square
#1B4794 #941B84 #94681B #1B942C
split-complementary
#1B4794 #942C1B #84941B
monochromatic
#08152C #122E60 #1B4794 #2460C8 #4B81DE

Accessibility & contrast

On white

8.84
#1B4794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B4794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4794
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4794#FFFFFF#000000##FFFFFF
##1B47941.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155097
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4794;
/* rgb */ color: rgb(27, 71, 148);
/* oklch */ color: oklch(41.5% 0.136 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c79b4',
    500: '#1b4794',
    950: '#000000',
  },
}
SCSS
$custom: #1b4794;
$custom-light: #6c79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4794",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 218.182,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.13602,
    "h": 260.7
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#1B4794
secondary
#C0954B
accent
#AC3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4794

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

Preview Lab → · Contrast checker → · Palette generator →

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