#1B3B79#1B3B79

#1B3B79 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.113 H 261.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#1B3B79
RGBrgb(27, 59, 121)
HSLhsl(220, 64%, 29%)
HSVhsv(220, 78%, 47%)
CMYKcmyk(77.7%, 51.2%, 0%, 52.5%)
CIE-LABlab(25.98, 12.03, -38.81)
CIE-LCHlch(25.98, 40.63, 287.22°)
OKLaboklab(36.6% -0.0158 -0.1115)
OKLCHoklch(36.6% 0.113 261.9)
XYZxyz(5.4659, 4.7408, 18.7125)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3B79 #79591B
analogous
#1B6A79 #1B3B79 #2A1B79
triadic
#1B3B79 #791B3B #3B791B
tetradic
#1B3B79 #791B6A #79591B #1B792A
square
#1B3B79 #791B6A #79591B #1B792A
split-complementary
#1B3B79 #792A1B #6A791B
monochromatic
#060C19 #102347 #1B3B79 #2653AB #3B6FD3

Accessibility & contrast

On white

10.78
#1B3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B3B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3B79
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3B79#FFFFFF#000000##FFFFFF
##1B3B791.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3b79;
/* rgb */ color: rgb(27, 59, 121);
/* oklch */ color: oklch(36.6% 0.113 261.9);
Tailwind
colors: {
  custom: {
    50: '#6670a0',
    500: '#1b3b79',
    950: '#000000',
  },
}
SCSS
$custom: #1b3b79;
$custom-light: #6670a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3b79",
  "rgb": {
    "r": 27,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 219.574,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36596,
    "c": 0.11263,
    "h": 261.9
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#1B3B79
secondary
#AD8943
accent
#AE41E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1B3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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