#1B4199#1B4199

#1B4199 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.151 H 263.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1B4199
RGBrgb(27, 65, 153)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 82%, 60%)
CMYKcmyk(82.4%, 57.5%, 0%, 40%)
CIE-LABlab(30.19, 20.86, -51.83)
CIE-LCHlch(30.19, 55.87, 291.92°)
OKLaboklab(40.57% -0.0171 -0.1497)
OKLCHoklch(40.57% 0.151 263.5)
XYZxyz(8.0900, 6.3125, 30.9229)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4199 #99731B
analogous
#1B8099 #1B4199 #341B99
triadic
#1B4199 #991B41 #41991B
tetradic
#1B4199 #991B80 #99731B #1B9934
square
#1B4199 #991B80 #99731B #1B9934
split-complementary
#1B4199 #99341B #80991B
monochromatic
#091531 #122B65 #1B4199 #2457CD #4F7AE0

Accessibility & contrast

On white

9.28
#1B4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4199
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4199#FFFFFF#000000##FFFFFF
##1B41991.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4199;
/* rgb */ color: rgb(27, 65, 153);
/* oklch */ color: oklch(40.6% 0.151 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e75b8',
    500: '#1b4199',
    950: '#000000',
  },
}
SCSS
$custom: #1b4199;
$custom-light: #6e75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4199",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 221.905,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.15066,
    "h": 263.5
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#1B4199
secondary
#C29F4E
accent
#B73BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4199

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

Preview Lab → · Contrast checker → · Palette generator →

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