#1B4F7F#1B4F7F

#1B4F7F is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.097 H 249.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1B4F7F
RGBrgb(27, 79, 127)
HSLhsl(209, 65%, 30%)
HSVhsv(209, 79%, 50%)
CMYKcmyk(78.7%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.61, 0.85, -31.97)
CIE-LCHlch(32.61, 31.99, 271.52°)
OKLaboklab(41.86% -0.0333 -0.0911)
OKLCHoklch(41.86% 0.097 249.9)
XYZxyz(7.0773, 7.3565, 21.1215)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F7F #7F4B1B
analogous
#1B7F7D #1B4F7F #1B1D7F
triadic
#1B4F7F #7F1B4F #4F7F1B
tetradic
#1B4F7F #7D1B7F #7F4B1B #1D7F1B
square
#1B4F7F #7D1B7F #7F4B1B #1D7F1B
split-complementary
#1B4F7F #7F1B1D #7F7D1B
monochromatic
#06101A #10304D #1B4F7F #266EB1 #3E8DD6

Accessibility & contrast

On white

8.50
#1B4F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4F7F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F7F#FFFFFF#000000##FFFFFF
##1B4F7F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#2A497E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4f7f;
/* rgb */ color: rgb(27, 79, 127);
/* oklch */ color: oklch(41.9% 0.097 249.9);
Tailwind
colors: {
  custom: {
    50: '#6780a4',
    500: '#1b4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f7f;
$custom-light: #6780a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f7f",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 208.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.09696,
    "h": 249.9
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#1B4F7F
secondary
#B37943
accent
#9140E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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