#1B3774#1B3774

#1B3774 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.111 H 263.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#1B3774
RGBrgb(27, 55, 116)
HSLhsl(221, 62%, 28%)
HSVhsv(221, 77%, 45%)
CMYKcmyk(76.7%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.40, 12.81, -38.19)
CIE-LCHlch(24.40, 40.28, 288.54°)
OKLaboklab(35.27% -0.0129 -0.1098)
OKLCHoklch(35.27% 0.111 263.3)
XYZxyz(4.9694, 4.2258, 17.0734)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3774 #74581B
analogous
#1B6374 #1B3774 #2C1B74
triadic
#1B3774 #741B37 #37741B
tetradic
#1B3774 #741B63 #74581B #1B742C
square
#1B3774 #741B63 #74581B #1B742C
split-complementary
#1B3774 #742C1B #63741B
monochromatic
#060C19 #0F1F42 #1B3774 #274FA6 #3968D1

Accessibility & contrast

On white

11.38
#1B3774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3774
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3774#FFFFFF#000000##FFFFFF
##1B37741.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3774;
/* rgb */ color: rgb(27, 55, 116);
/* oklch */ color: oklch(35.3% 0.111 263.3);
Tailwind
colors: {
  custom: {
    50: '#656d9c',
    500: '#1b3774',
    950: '#000000',
  },
}
SCSS
$custom: #1b3774;
$custom-light: #656d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3774",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 221.124,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35273,
    "c": 0.11051,
    "h": 263.3
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#1B3774
secondary
#A98842
accent
#B242E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B3774

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

Preview Lab → · Contrast checker → · Palette generator →

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