#1B4594#1B4594

#1B4594 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.139 H 261.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1B4594
RGBrgb(27, 69, 148)
HSLhsl(219, 69%, 34%)
HSVhsv(219, 82%, 58%)
CMYKcmyk(81.8%, 53.4%, 0%, 42%)
CIE-LABlab(30.94, 16.09, -47.56)
CIE-LCHlch(30.94, 50.21, 288.69°)
OKLaboklab(41.01% -0.0204 -0.1371)
OKLCHoklch(41.01% 0.139 261.5)
XYZxyz(7.9235, 6.6264, 28.8727)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4594 #946A1B
analogous
#1B8294 #1B4594 #2E1B94
triadic
#1B4594 #941B45 #45941B
tetradic
#1B4594 #941B82 #946A1B #1B942E
square
#1B4594 #941B82 #946A1B #1B942E
split-complementary
#1B4594 #942E1B #82941B
monochromatic
#08152C #122D60 #1B4594 #245DC8 #4B7EDE

Accessibility & contrast

On white

9.03
#1B4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4594
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4594#FFFFFF#000000##FFFFFF
##1B45941.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4F97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4594;
/* rgb */ color: rgb(27, 69, 148);
/* oklch */ color: oklch(41.0% 0.139 261.5);
Tailwind
colors: {
  custom: {
    50: '#6c78b4',
    500: '#1b4594',
    950: '#000000',
  },
}
SCSS
$custom: #1b4594;
$custom-light: #6c78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4594",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 219.174,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.13857,
    "h": 261.5
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4594

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

Preview Lab → · Contrast checker → · Palette generator →

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