#1B3E79#1B3E79

#1B3E79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.109 H 260.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1B3E79
RGBrgb(27, 62, 121)
HSLhsl(218, 64%, 29%)
HSVhsv(218, 78%, 47%)
CMYKcmyk(77.7%, 48.8%, 0%, 52.5%)
CIE-LABlab(26.90, 9.93, -37.34)
CIE-LCHlch(26.90, 38.63, 284.90°)
OKLaboklab(37.3% -0.0185 -0.1071)
OKLCHoklch(37.3% 0.109 260.2)
XYZxyz(5.6246, 5.0581, 18.7653)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E79 #79561B
analogous
#1B6D79 #1B3E79 #271B79
triadic
#1B3E79 #791B3E #3E791B
tetradic
#1B3E79 #791B6D #79561B #1B7927
square
#1B3E79 #791B6D #79561B #1B7927
split-complementary
#1B3E79 #79271B #6D791B
monochromatic
#060D19 #102447 #1B3E79 #2658AB #3B74D3

Accessibility & contrast

On white

10.44
#1B3E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E79
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E79#FFFFFF#000000##FFFFFF
##1B3E791.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#063C78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3e79;
/* rgb */ color: rgb(27, 62, 121);
/* oklch */ color: oklch(37.3% 0.109 260.2);
Tailwind
colors: {
  custom: {
    50: '#6672a0',
    500: '#1b3e79',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e79;
$custom-light: #6672a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e79",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 217.66,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.10871,
    "h": 260.2
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#1B3E79
secondary
#AD8643
accent
#A941E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #1B3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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