#1B4D8D#1B4D8D

#1B4D8D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.119 H 256.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1B4D8D
RGBrgb(27, 77, 141)
HSLhsl(214, 68%, 33%)
HSVhsv(214, 81%, 55%)
CMYKcmyk(80.9%, 45.4%, 0%, 44.7%)
CIE-LABlab(32.84, 7.80, -40.22)
CIE-LCHlch(32.84, 40.97, 280.98°)
OKLaboklab(42.31% -0.0281 -0.1153)
OKLCHoklch(42.31% 0.119 256.3)
XYZxyz(7.9118, 7.4629, 26.2176)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D8D #8D5B1B
analogous
#1B868D #1B4D8D #221B8D
triadic
#1B4D8D #8D1B4D #4D8D1B
tetradic
#1B4D8D #8D1B86 #8D5B1B #1B8D22
square
#1B4D8D #8D1B86 #8D5B1B #1B8D22
split-complementary
#1B4D8D #8D221B #868D1B
monochromatic
#071526 #11315A #1B4D8D #2569C0 #4788DC

Accessibility & contrast

On white

8.42
#1B4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D8D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D8D#FFFFFF#000000##FFFFFF
##1B4D8D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#14488C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4d8d;
/* rgb */ color: rgb(27, 77, 141);
/* oklch */ color: oklch(42.3% 0.119 256.3);
Tailwind
colors: {
  custom: {
    50: '#6a7eaf',
    500: '#1b4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d8d;
$custom-light: #6a7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d8d",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 213.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42314,
    "c": 0.11867,
    "h": 256.3
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#1B4D8D
secondary
#BD8946
accent
#9F3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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