#1B3D79#1B3D79

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

Color values

HEX#1B3D79
RGBrgb(27, 61, 121)
HSLhsl(218, 64%, 29%)
HSVhsv(218, 78%, 47%)
CMYKcmyk(77.7%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.59, 10.63, -37.83)
CIE-LCHlch(26.59, 39.29, 285.69°)
OKLaboklab(37.06% -0.0176 -0.1086)
OKLCHoklch(37.06% 0.11 260.8)
XYZxyz(5.5707, 4.9504, 18.7474)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D79 #79571B
analogous
#1B6C79 #1B3D79 #281B79
triadic
#1B3D79 #791B3D #3D791B
tetradic
#1B3D79 #791B6C #79571B #1B7928
square
#1B3D79 #791B6C #79571B #1B7928
split-complementary
#1B3D79 #79281B #6C791B
monochromatic
#060D19 #102447 #1B3D79 #2656AB #3B72D3

Accessibility & contrast

On white

10.55
#1B3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B3D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D79
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D79#FFFFFF#000000##FFFFFF
##1B3D791.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#023B78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3d79;
/* rgb */ color: rgb(27, 61, 121);
/* oklch */ color: oklch(37.1% 0.110 260.8);
Tailwind
colors: {
  custom: {
    50: '#6672a0',
    500: '#1b3d79',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d79;
$custom-light: #6672a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d79",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 218.298,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.11001,
    "h": 260.8
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#1B3D79
secondary
#AD8743
accent
#AB41E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1B3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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