#1B3379#1B3379

#1B3379 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.123 H 265.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1B3379
RGBrgb(27, 51, 121)
HSLhsl(225, 64%, 29%)
HSVhsv(225, 78%, 47%)
CMYKcmyk(77.7%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.61, 17.69, -42.66)
CIE-LCHlch(23.61, 46.18, 292.53°)
OKLaboklab(34.79% -0.0089 -0.123)
OKLCHoklch(34.79% 0.123 265.8)
XYZxyz(5.0858, 3.9806, 18.5857)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3379 #79611B
analogous
#1B6279 #1B3379 #321B79
triadic
#1B3379 #791B33 #33791B
tetradic
#1B3379 #791B62 #79611B #1B7932
square
#1B3379 #791B62 #79611B #1B7932
split-complementary
#1B3379 #79321B #62791B
monochromatic
#060B19 #101E47 #1B3379 #2648AB #3B62D3

Accessibility & contrast

On white

11.69
#1B3379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B3379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3379
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3379#FFFFFF#000000##FFFFFF
##1B33791.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3379;
/* rgb */ color: rgb(27, 51, 121);
/* oklch */ color: oklch(34.8% 0.123 265.8);
Tailwind
colors: {
  custom: {
    50: '#666aa0',
    500: '#1b3379',
    950: '#000000',
  },
}
SCSS
$custom: #1b3379;
$custom-light: #666aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3379",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 224.681,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.1233,
    "h": 265.8
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#1B3379
secondary
#AD9243
accent
#BC41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1B3379

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

Preview Lab → · Contrast checker → · Palette generator →

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