#1B4C8A#1B4C8A

#1B4C8A is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.9% C 0.116 H 256.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1B4C8A
RGBrgb(27, 76, 138)
HSLhsl(214, 67%, 32%)
HSVhsv(214, 80%, 54%)
CMYKcmyk(80.4%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.34, 7.26, -39.18)
CIE-LCHlch(32.34, 39.85, 280.50°)
OKLaboklab(41.86% -0.0278 -0.1123)
OKLCHoklch(41.86% 0.116 256.1)
XYZxyz(7.6222, 7.2360, 25.0348)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C8A #8A591B
analogous
#1B838A #1B4C8A #221B8A
triadic
#1B4C8A #8A1B4C #4C8A1B
tetradic
#1B4C8A #8A1B83 #8A591B #1B8A22
square
#1B4C8A #8A1B83 #8A591B #1B8A22
split-complementary
#1B4C8A #8A221B #838A1B
monochromatic
#071424 #113057 #1B4C8A #2568BD #4587DB

Accessibility & contrast

On white

8.58
#1B4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C8A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C8A#FFFFFF#000000##FFFFFF
##1B4C8A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4c8a;
/* rgb */ color: rgb(27, 76, 138);
/* oklch */ color: oklch(41.9% 0.116 256.1);
Tailwind
colors: {
  custom: {
    50: '#6a7dac',
    500: '#1b4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c8a;
$custom-light: #6a7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c8a",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 213.514,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.11566,
    "h": 256.1
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#1B4C8A
secondary
#BC8745
accent
#9E3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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