#1B3E76#1B3E76

#1B3E76 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.104 H 259.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#1B3E76
RGBrgb(27, 62, 118)
HSLhsl(217, 63%, 28%)
HSVhsv(217, 77%, 46%)
CMYKcmyk(77.1%, 47.5%, 0%, 53.7%)
CIE-LABlab(26.69, 8.70, -35.77)
CIE-LCHlch(26.69, 36.81, 283.67°)
OKLaboklab(37.07% -0.0191 -0.1025)
OKLCHoklch(37.07% 0.104 259.5)
XYZxyz(5.4434, 4.9857, 17.8115)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E76 #76531B
analogous
#1B6B76 #1B3E76 #251B76
triadic
#1B3E76 #761B3E #3E761B
tetradic
#1B3E76 #761B6B #76531B #1B7625
square
#1B3E76 #761B6B #76531B #1B7625
split-complementary
#1B3E76 #76251B #6B761B
monochromatic
#060D19 #102444 #1B3E76 #2658A8 #3A74D2

Accessibility & contrast

On white

10.51
#1B3E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B3E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E76
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E76#FFFFFF#000000##FFFFFF
##1B3E761.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#0D3B75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3e76;
/* rgb */ color: rgb(27, 62, 118);
/* oklch */ color: oklch(37.1% 0.104 259.5);
Tailwind
colors: {
  custom: {
    50: '#65729e',
    500: '#1b3e76',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e76;
$custom-light: #65729e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e76",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 216.923,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.10427,
    "h": 259.5
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#1B3E76
secondary
#AA8242
accent
#A742E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B3E76

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

Preview Lab → · Contrast checker → · Palette generator →

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