#1B3479#1B3479

#1B3479 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.0% C 0.122 H 265.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1B3479
RGBrgb(27, 52, 121)
HSLhsl(224, 64%, 29%)
HSVhsv(224, 78%, 47%)
CMYKcmyk(77.7%, 57%, 0%, 52.5%)
CIE-LABlab(23.90, 16.98, -42.18)
CIE-LCHlch(23.90, 45.47, 291.93°)
OKLaboklab(35.01% -0.0097 -0.1216)
OKLCHoklch(35.01% 0.122 265.4)
XYZxyz(5.1300, 4.0689, 18.6005)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3479 #79601B
analogous
#1B6379 #1B3479 #311B79
triadic
#1B3479 #791B34 #34791B
tetradic
#1B3479 #791B63 #79601B #1B7931
square
#1B3479 #791B63 #79601B #1B7931
split-complementary
#1B3479 #79311B #63791B
monochromatic
#060B19 #101E47 #1B3479 #264AAB #3B64D3

Accessibility & contrast

On white

11.58
#1B3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3479
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3479#FFFFFF#000000##FFFFFF
##1B34791.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3479;
/* rgb */ color: rgb(27, 52, 121);
/* oklch */ color: oklch(35.0% 0.122 265.4);
Tailwind
colors: {
  custom: {
    50: '#666ba0',
    500: '#1b3479',
    950: '#000000',
  },
}
SCSS
$custom: #1b3479;
$custom-light: #666ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3479",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 224.043,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35011,
    "c": 0.12196,
    "h": 265.4
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#1B3479
secondary
#AD9143
accent
#BB41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1B3479

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

Preview Lab → · Contrast checker → · Palette generator →

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