#1B4D94#1B4D94

#1B4D94 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.8% C 0.128 H 258.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1B4D94
RGBrgb(27, 77, 148)
HSLhsl(215, 69%, 34%)
HSVhsv(215, 82%, 58%)
CMYKcmyk(81.8%, 48%, 0%, 42%)
CIE-LABlab(33.30, 10.64, -43.75)
CIE-LCHlch(33.30, 45.02, 283.67°)
OKLaboklab(42.82% -0.0267 -0.1257)
OKLCHoklch(42.82% 0.128 258)
XYZxyz(8.4492, 7.6779, 29.0479)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D94 #94621B
analogous
#1B8A94 #1B4D94 #261B94
triadic
#1B4D94 #941B4D #4D941B
tetradic
#1B4D94 #941B8A #94621B #1B9426
square
#1B4D94 #941B8A #94621B #1B9426
split-complementary
#1B4D94 #94261B #8A941B
monochromatic
#08172C #123260 #1B4D94 #2468C8 #4B88DE

Accessibility & contrast

On white

8.28
#1B4D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B4D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D94
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D94#FFFFFF#000000##FFFFFF
##1B4D941.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#014993
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4d94;
/* rgb */ color: rgb(27, 77, 148);
/* oklch */ color: oklch(42.8% 0.128 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7eb4',
    500: '#1b4d94',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d94;
$custom-light: #6c7eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d94",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 148
  },
  "hsl": {
    "h": 215.207,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42822,
    "c": 0.12848,
    "h": 258
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#1B4D94
secondary
#C0904B
accent
#A33CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4D94

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

Preview Lab → · Contrast checker → · Palette generator →

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