#1B3679#1B3679

#1B3679 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.119 H 264.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1B3679
RGBrgb(27, 54, 121)
HSLhsl(223, 64%, 29%)
HSVhsv(223, 78%, 47%)
CMYKcmyk(77.7%, 55.4%, 0%, 52.5%)
CIE-LABlab(24.49, 15.56, -41.23)
CIE-LCHlch(24.49, 44.07, 290.68°)
OKLaboklab(35.46% -0.0114 -0.1187)
OKLCHoklch(35.46% 0.119 264.5)
XYZxyz(5.2211, 4.2512, 18.6309)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3679 #795E1B
analogous
#1B6579 #1B3679 #2F1B79
triadic
#1B3679 #791B36 #36791B
tetradic
#1B3679 #791B65 #795E1B #1B792F
square
#1B3679 #791B65 #795E1B #1B792F
split-complementary
#1B3679 #792F1B #65791B
monochromatic
#060B19 #102047 #1B3679 #264CAB #3B67D3

Accessibility & contrast

On white

11.35
#1B3679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B3679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3679
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3679#FFFFFF#000000##FFFFFF
##1B36791.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3679;
/* rgb */ color: rgb(27, 54, 121);
/* oklch */ color: oklch(35.5% 0.119 264.5);
Tailwind
colors: {
  custom: {
    50: '#666ca0',
    500: '#1b3679',
    950: '#000000',
  },
}
SCSS
$custom: #1b3679;
$custom-light: #666ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3679",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 222.766,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35455,
    "c": 0.11929,
    "h": 264.5
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#1B3679
secondary
#AD8F43
accent
#B741E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1B3679

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

Preview Lab → · Contrast checker → · Palette generator →

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