#1B3F79#1B3F79

#1B3F79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.107 H 259.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1B3F79
RGBrgb(27, 63, 121)
HSLhsl(217, 64%, 29%)
HSVhsv(217, 78%, 47%)
CMYKcmyk(77.7%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.21, 9.23, -36.84)
CIE-LCHlch(27.21, 37.98, 284.07°)
OKLaboklab(37.54% -0.0194 -0.1056)
OKLCHoklch(37.54% 0.107 259.6)
XYZxyz(5.6794, 5.1679, 18.7836)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F79 #79551B
analogous
#1B6E79 #1B3F79 #261B79
triadic
#1B3F79 #791B3F #3F791B
tetradic
#1B3F79 #791B6E #79551B #1B7926
square
#1B3F79 #791B6E #79551B #1B7926
split-complementary
#1B3F79 #79261B #6E791B
monochromatic
#060D19 #102547 #1B3F79 #2659AB #3B75D3

Accessibility & contrast

On white

10.33
#1B3F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1B3F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F79
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F79#FFFFFF#000000##FFFFFF
##1B3F791.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#0B3C78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3f79;
/* rgb */ color: rgb(27, 63, 121);
/* oklch */ color: oklch(37.5% 0.107 259.6);
Tailwind
colors: {
  custom: {
    50: '#6673a0',
    500: '#1b3f79',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f79;
$custom-light: #6673a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f79",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 217.021,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.10741,
    "h": 259.6
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#1B3F79
secondary
#AD8443
accent
#A741E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #1B3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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