#1B4B95#1B4B95

#1B4B95 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.132 H 259.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1B4B95
RGBrgb(27, 75, 149)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 82%, 58%)
CMYKcmyk(81.9%, 49.7%, 0%, 41.6%)
CIE-LABlab(32.78, 12.40, -45.20)
CIE-LCHlch(32.78, 46.87, 285.34°)
OKLaboklab(42.44% -0.0249 -0.13)
OKLCHoklch(42.44% 0.132 259.1)
XYZxyz(8.3909, 7.4341, 29.4206)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B95 #95651B
analogous
#1B8895 #1B4B95 #281B95
triadic
#1B4B95 #951B4B #4B951B
tetradic
#1B4B95 #951B88 #95651B #1B9528
square
#1B4B95 #951B88 #95651B #1B9528
split-complementary
#1B4B95 #95281B #88951B
monochromatic
#08172D #123161 #1B4B95 #2465C9 #4C86DF

Accessibility & contrast

On white

8.44
#1B4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B95
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B95#FFFFFF#000000##FFFFFF
##1B4B951.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4b95;
/* rgb */ color: rgb(27, 75, 149);
/* oklch */ color: oklch(42.4% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#6c7cb5',
    500: '#1b4b95',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b95;
$custom-light: #6c7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b95",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 216.393,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.13237,
    "h": 259.1
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#1B4B95
secondary
#C1924B
accent
#A73CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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