#1B4295#1B4295

#1B4295 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.144 H 262.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1B4295
RGBrgb(27, 66, 149)
HSLhsl(221, 69%, 35%)
HSVhsv(221, 82%, 58%)
CMYKcmyk(81.9%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.15, 18.56, -49.45)
CIE-LCHlch(30.15, 52.81, 290.57°)
OKLaboklab(40.44% -0.0181 -0.1427)
OKLCHoklch(40.44% 0.144 262.8)
XYZxyz(7.8231, 6.2984, 29.2314)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4295 #956E1B
analogous
#1B7F95 #1B4295 #311B95
triadic
#1B4295 #951B42 #42951B
tetradic
#1B4295 #951B7F #956E1B #1B9531
square
#1B4295 #951B7F #956E1B #1B9531
split-complementary
#1B4295 #95311B #7F951B
monochromatic
#08142D #122B61 #1B4295 #2459C9 #4C7BDF

Accessibility & contrast

On white

9.29
#1B4295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B4295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4295
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4295#FFFFFF#000000##FFFFFF
##1B42951.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4295;
/* rgb */ color: rgb(27, 66, 149);
/* oklch */ color: oklch(40.4% 0.144 262.8);
Tailwind
colors: {
  custom: {
    50: '#6d75b5',
    500: '#1b4295',
    950: '#000000',
  },
}
SCSS
$custom: #1b4295;
$custom-light: #6d75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4295",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 220.82,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.14381,
    "h": 262.8
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#1B4295
secondary
#C19B4B
accent
#B43CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4295

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

Preview Lab → · Contrast checker → · Palette generator →

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