#1B4C8B#1B4C8B

#1B4C8B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.117 H 256.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1B4C8B
RGBrgb(27, 76, 139)
HSLhsl(214, 67%, 33%)
HSVhsv(214, 81%, 55%)
CMYKcmyk(80.6%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.40, 7.67, -39.69)
CIE-LCHlch(32.40, 40.43, 280.93°)
OKLaboklab(41.94% -0.0276 -0.1138)
OKLCHoklch(41.94% 0.117 256.4)
XYZxyz(7.6949, 7.2651, 25.4178)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C8B #8B5A1B
analogous
#1B848B #1B4C8B #221B8B
triadic
#1B4C8B #8B1B4C #4C8B1B
tetradic
#1B4C8B #8B1B84 #8B5A1B #1B8B22
square
#1B4C8B #8B1B84 #8B5A1B #1B8B22
split-complementary
#1B4C8B #8B221B #848B1B
monochromatic
#071425 #113058 #1B4C8B #2568BE #4587DB

Accessibility & contrast

On white

8.56
#1B4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4C8B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C8B#FFFFFF#000000##FFFFFF
##1B4C8B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4c8b;
/* rgb */ color: rgb(27, 76, 139);
/* oklch */ color: oklch(41.9% 0.117 256.4);
Tailwind
colors: {
  custom: {
    50: '#6a7dad',
    500: '#1b4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c8b;
$custom-light: #6a7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c8b",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 213.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.11707,
    "h": 256.4
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#1B4C8B
secondary
#BC8845
accent
#9F3DEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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