#1B4E8D#1B4E8D

#1B4E8D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.6% C 0.117 H 255.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#1B4E8D
RGBrgb(27, 78, 141)
HSLhsl(213, 68%, 33%)
HSVhsv(213, 81%, 55%)
CMYKcmyk(80.9%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.14, 7.13, -39.73)
CIE-LCHlch(33.14, 40.37, 280.18°)
OKLaboklab(42.55% -0.0289 -0.1138)
OKLCHoklch(42.55% 0.117 255.7)
XYZxyz(7.9823, 7.6039, 26.2411)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E8D #8D5A1B
analogous
#1B878D #1B4E8D #211B8D
triadic
#1B4E8D #8D1B4E #4E8D1B
tetradic
#1B4E8D #8D1B87 #8D5A1B #1B8D21
square
#1B4E8D #8D1B87 #8D5A1B #1B8D21
split-complementary
#1B4E8D #8D211B #878D1B
monochromatic
#071526 #11325A #1B4E8D #256AC0 #4789DC

Accessibility & contrast

On white

8.33
#1B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1B4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E8D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E8D#FFFFFF#000000##FFFFFF
##1B4E8D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4e8d;
/* rgb */ color: rgb(27, 78, 141);
/* oklch */ color: oklch(42.6% 0.117 255.7);
Tailwind
colors: {
  custom: {
    50: '#6a7faf',
    500: '#1b4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e8d;
$custom-light: #6a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e8d",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 213.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.11746,
    "h": 255.7
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#1B4E8D
secondary
#BD8846
accent
#9D3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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