#1B3A79#1B3A79

#1B3A79 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.114 H 262.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1B3A79
RGBrgb(27, 58, 121)
HSLhsl(220, 64%, 29%)
HSVhsv(220, 78%, 47%)
CMYKcmyk(77.7%, 52.1%, 0%, 52.5%)
CIE-LABlab(25.68, 12.74, -39.30)
CIE-LCHlch(25.68, 41.31, 287.96°)
OKLaboklab(36.36% -0.0149 -0.113)
OKLCHoklch(36.36% 0.114 262.5)
XYZxyz(5.4150, 4.6390, 18.6955)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A79 #795A1B
analogous
#1B6979 #1B3A79 #2B1B79
triadic
#1B3A79 #791B3A #3A791B
tetradic
#1B3A79 #791B69 #795A1B #1B792B
square
#1B3A79 #791B69 #795A1B #1B792B
split-complementary
#1B3A79 #792B1B #69791B
monochromatic
#060C19 #102247 #1B3A79 #2652AB #3B6DD3

Accessibility & contrast

On white

10.89
#1B3A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B3A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A79
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A79#FFFFFF#000000##FFFFFF
##1B3A791.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3a79;
/* rgb */ color: rgb(27, 58, 121);
/* oklch */ color: oklch(36.4% 0.114 262.5);
Tailwind
colors: {
  custom: {
    50: '#666fa0',
    500: '#1b3a79',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a79;
$custom-light: #666fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a79",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 220.213,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.11395,
    "h": 262.5
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#1B3A79
secondary
#AD8A43
accent
#B041E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1B3A79

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

Preview Lab → · Contrast checker → · Palette generator →

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