#1B4296#1B4296

#1B4296 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.145 H 262.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1B4296
RGBrgb(27, 66, 150)
HSLhsl(221, 69%, 35%)
HSVhsv(221, 82%, 59%)
CMYKcmyk(82%, 56%, 0%, 41.2%)
CIE-LABlab(30.23, 18.96, -49.93)
CIE-LCHlch(30.23, 53.41, 290.80°)
OKLaboklab(40.52% -0.018 -0.1441)
OKLCHoklch(40.52% 0.145 262.9)
XYZxyz(7.9033, 6.3305, 29.6536)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4296 #966F1B
analogous
#1B7F96 #1B4296 #321B96
triadic
#1B4296 #961B42 #42961B
tetradic
#1B4296 #961B7F #966F1B #1B9632
square
#1B4296 #961B7F #966F1B #1B9632
split-complementary
#1B4296 #96321B #7F961B
monochromatic
#08142E #122B62 #1B4296 #2459CA #4D7BDF

Accessibility & contrast

On white

9.27
#1B4296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B4296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4296
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4296#FFFFFF#000000##FFFFFF
##1B42961.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4296;
/* rgb */ color: rgb(27, 66, 150);
/* oklch */ color: oklch(40.5% 0.145 262.9);
Tailwind
colors: {
  custom: {
    50: '#6d75b6',
    500: '#1b4296',
    950: '#000000',
  },
}
SCSS
$custom: #1b4296;
$custom-light: #6d75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4296",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 220.976,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.14521,
    "h": 262.9
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#1B4296
secondary
#C19C4C
accent
#B43BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4296

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

Preview Lab → · Contrast checker → · Palette generator →

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