#1B3673#1B3673

#1B3673 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.110 H 263.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1B3673
RGBrgb(27, 54, 115)
HSLhsl(222, 62%, 28%)
HSVhsv(222, 77%, 45%)
CMYKcmyk(76.5%, 53%, 0%, 54.9%)
CIE-LABlab(24.03, 13.11, -38.16)
CIE-LCHlch(24.03, 40.35, 288.96°)
OKLaboklab(34.96% -0.0121 -0.1097)
OKLCHoklch(34.96% 0.11 263.7)
XYZxyz(4.8646, 4.1086, 16.7530)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3673 #73581B
analogous
#1B6273 #1B3673 #2C1B73
triadic
#1B3673 #731B36 #36731B
tetradic
#1B3673 #731B62 #73581B #1B732C
square
#1B3673 #731B62 #73581B #1B732C
split-complementary
#1B3673 #732C1B #62731B
monochromatic
#060C19 #0F1F41 #1B3673 #274DA5 #3867D0

Accessibility & contrast

On white

11.53
#1B3673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B3673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3673
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3673#FFFFFF#000000##FFFFFF
##1B36731.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3673;
/* rgb */ color: rgb(27, 54, 115);
/* oklch */ color: oklch(35.0% 0.110 263.7);
Tailwind
colors: {
  custom: {
    50: '#656c9c',
    500: '#1b3673',
    950: '#000000',
  },
}
SCSS
$custom: #1b3673;
$custom-light: #656c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3673",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 221.591,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34962,
    "c": 0.11036,
    "h": 263.7
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#1B3673
secondary
#A88842
accent
#B343E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3673

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

Preview Lab → · Contrast checker → · Palette generator →

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