#1B4097#1B4097

#1B4097 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 263.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1B4097
RGBrgb(27, 64, 151)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 82%, 59%)
CMYKcmyk(82.1%, 57.6%, 0%, 40.8%)
CIE-LABlab(29.75, 20.74, -51.33)
CIE-LCHlch(29.75, 55.36, 292.00°)
OKLaboklab(40.18% -0.0165 -0.1482)
OKLCHoklch(40.18% 0.149 263.6)
XYZxyz(7.8693, 6.1332, 30.0412)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4097 #97721B
analogous
#1B7E97 #1B4097 #341B97
triadic
#1B4097 #971B40 #40971B
tetradic
#1B4097 #971B7E #97721B #1B9734
square
#1B4097 #971B7E #97721B #1B9734
split-complementary
#1B4097 #97341B #7E971B
monochromatic
#08142F #122A63 #1B4097 #2456CB #4D79DF

Accessibility & contrast

On white

9.43
#1B4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4097
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4097#FFFFFF#000000##FFFFFF
##1B40971.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4097;
/* rgb */ color: rgb(27, 64, 151);
/* oklch */ color: oklch(40.2% 0.149 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d74b6',
    500: '#1b4097',
    950: '#000000',
  },
}
SCSS
$custom: #1b4097;
$custom-light: #6d74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4097",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 222.097,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.14916,
    "h": 263.6
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#1B4097
secondary
#C19F4C
accent
#B83BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4097

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

Preview Lab → · Contrast checker → · Palette generator →

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