#1B4299#1B4299

#1B4299 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.149 H 263.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1B4299
RGBrgb(27, 66, 153)
HSLhsl(221, 70%, 35%)
HSVhsv(221, 82%, 60%)
CMYKcmyk(82.4%, 56.9%, 0%, 40%)
CIE-LABlab(30.47, 20.17, -51.37)
CIE-LCHlch(30.47, 55.19, 291.44°)
OKLaboklab(40.78% -0.0178 -0.1483)
OKLCHoklch(40.78% 0.149 263.2)
XYZxyz(8.1479, 6.4284, 30.9422)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4299 #99721B
analogous
#1B8199 #1B4299 #331B99
triadic
#1B4299 #991B42 #42991B
tetradic
#1B4299 #991B81 #99721B #1B9933
square
#1B4299 #991B81 #99721B #1B9933
split-complementary
#1B4299 #99331B #81991B
monochromatic
#091531 #122C65 #1B4299 #2458CD #4F7CE0

Accessibility & contrast

On white

9.19
#1B4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1B4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4299
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4299#FFFFFF#000000##FFFFFF
##1B42991.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4299;
/* rgb */ color: rgb(27, 66, 153);
/* oklch */ color: oklch(40.8% 0.149 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e75b8',
    500: '#1b4299',
    950: '#000000',
  },
}
SCSS
$custom: #1b4299;
$custom-light: #6e75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4299",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 221.429,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.14939,
    "h": 263.2
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#1B4299
secondary
#C29E4E
accent
#B63BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4299

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

Preview Lab → · Contrast checker → · Palette generator →

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