#1B4197#1B4197

#1B4197 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.148 H 263.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1B4197
RGBrgb(27, 65, 151)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 82%, 59%)
CMYKcmyk(82.1%, 57%, 0%, 40.8%)
CIE-LABlab(30.03, 20.05, -50.87)
CIE-LCHlch(30.03, 54.68, 291.51°)
OKLaboklab(40.39% -0.0172 -0.1469)
OKLCHoklch(40.39% 0.148 263.3)
XYZxyz(7.9262, 6.2470, 30.0602)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4197 #97711B
analogous
#1B7F97 #1B4197 #331B97
triadic
#1B4197 #971B41 #41971B
tetradic
#1B4197 #971B7F #97711B #1B9733
square
#1B4197 #971B7F #97711B #1B9733
split-complementary
#1B4197 #97331B #7F971B
monochromatic
#08142F #122B63 #1B4197 #2457CB #4D7ADF

Accessibility & contrast

On white

9.33
#1B4197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B4197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4197
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4197#FFFFFF#000000##FFFFFF
##1B41971.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4197;
/* rgb */ color: rgb(27, 65, 151);
/* oklch */ color: oklch(40.4% 0.148 263.3);
Tailwind
colors: {
  custom: {
    50: '#6d75b6',
    500: '#1b4197',
    950: '#000000',
  },
}
SCSS
$custom: #1b4197;
$custom-light: #6d75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4197",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 221.613,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.14789,
    "h": 263.3
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#1B4197
secondary
#C19E4C
accent
#B63BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4197

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

Preview Lab → · Contrast checker → · Palette generator →

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