#1B4C8D#1B4C8D

#1B4C8D is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.1% C 0.120 H 256.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1B4C8D
RGBrgb(27, 76, 141)
HSLhsl(214, 68%, 33%)
HSVhsv(214, 81%, 55%)
CMYKcmyk(80.9%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.53, 8.48, -40.71)
CIE-LCHlch(32.53, 41.58, 281.76°)
OKLaboklab(42.08% -0.0272 -0.1168)
OKLCHoklch(42.08% 0.12 256.9)
XYZxyz(7.8424, 7.3241, 26.1945)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C8D #8D5C1B
analogous
#1B858D #1B4C8D #231B8D
triadic
#1B4C8D #8D1B4C #4C8D1B
tetradic
#1B4C8D #8D1B85 #8D5C1B #1B8D23
square
#1B4C8D #8D1B85 #8D5C1B #1B8D23
split-complementary
#1B4C8D #8D231B #858D1B
monochromatic
#071526 #11305A #1B4C8D #2568C0 #4787DC

Accessibility & contrast

On white

8.52
#1B4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C8D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C8D#FFFFFF#000000##FFFFFF
##1B4C8D1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4c8d;
/* rgb */ color: rgb(27, 76, 141);
/* oklch */ color: oklch(42.1% 0.120 256.9);
Tailwind
colors: {
  custom: {
    50: '#6a7daf',
    500: '#1b4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c8d;
$custom-light: #6a7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c8d",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 214.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.11988,
    "h": 256.9
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#1B4C8D
secondary
#BD8A46
accent
#A03DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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