#1B3579#1B3579

#1B3579 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.2% C 0.121 H 265.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1B3579
RGBrgb(27, 53, 121)
HSLhsl(223, 64%, 29%)
HSVhsv(223, 78%, 47%)
CMYKcmyk(77.7%, 56.2%, 0%, 52.5%)
CIE-LABlab(24.19, 16.27, -41.71)
CIE-LCHlch(24.19, 44.77, 291.31°)
OKLaboklab(35.23% -0.0106 -0.1202)
OKLCHoklch(35.23% 0.121 265)
XYZxyz(5.1751, 4.1591, 18.6155)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3579 #795F1B
analogous
#1B6479 #1B3579 #301B79
triadic
#1B3579 #791B35 #35791B
tetradic
#1B3579 #791B64 #795F1B #1B7930
square
#1B3579 #791B64 #795F1B #1B7930
split-complementary
#1B3579 #79301B #64791B
monochromatic
#060B19 #101F47 #1B3579 #264BAB #3B65D3

Accessibility & contrast

On white

11.46
#1B3579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B3579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3579
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3579#FFFFFF#000000##FFFFFF
##1B35791.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3579;
/* rgb */ color: rgb(27, 53, 121);
/* oklch */ color: oklch(35.2% 0.121 265.0);
Tailwind
colors: {
  custom: {
    50: '#666ba0',
    500: '#1b3579',
    950: '#000000',
  },
}
SCSS
$custom: #1b3579;
$custom-light: #666ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3579",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 223.404,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35233,
    "c": 0.12062,
    "h": 265
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#1B3579
secondary
#AD9043
accent
#B941E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1B3579

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

Preview Lab → · Contrast checker → · Palette generator →

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