#1B4A95#1B4A95

#1B4A95 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.134 H 259.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1B4A95
RGBrgb(27, 74, 149)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 82%, 58%)
CMYKcmyk(81.9%, 50.3%, 0%, 41.6%)
CIE-LABlab(32.48, 13.08, -45.68)
CIE-LCHlch(32.48, 47.52, 285.97°)
OKLaboklab(42.21% -0.0241 -0.1314)
OKLCHoklch(42.21% 0.134 259.6)
XYZxyz(8.3236, 7.2995, 29.3982)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A95 #95661B
analogous
#1B8795 #1B4A95 #291B95
triadic
#1B4A95 #951B4A #4A951B
tetradic
#1B4A95 #951B87 #95661B #1B9529
square
#1B4A95 #951B87 #95661B #1B9529
split-complementary
#1B4A95 #95291B #87951B
monochromatic
#08172D #123061 #1B4A95 #2464C9 #4C84DF

Accessibility & contrast

On white

8.54
#1B4A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B4A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A95
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A95#FFFFFF#000000##FFFFFF
##1B4A951.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4a95;
/* rgb */ color: rgb(27, 74, 149);
/* oklch */ color: oklch(42.2% 0.134 259.6);
Tailwind
colors: {
  custom: {
    50: '#6c7bb5',
    500: '#1b4a95',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a95;
$custom-light: #6c7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a95",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 216.885,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.13363,
    "h": 259.6
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#1B4A95
secondary
#C1934B
accent
#A83CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4A95

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

Preview Lab → · Contrast checker → · Palette generator →

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