#1B4F7A#1B4F7A

#1B4F7A is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.090 H 247.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#1B4F7A
RGBrgb(27, 79, 122)
HSLhsl(207, 64%, 29%)
HSVhsv(207, 78%, 48%)
CMYKcmyk(77.9%, 35.2%, 0%, 52.2%)
CIE-LABlab(32.32, -1.14, -29.32)
CIE-LCHlch(32.32, 29.34, 267.78°)
OKLaboklab(41.54% -0.0348 -0.0833)
OKLCHoklch(41.54% 0.09 247.3)
XYZxyz(6.7595, 7.2293, 19.4477)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F7A #7A461B
analogous
#1B7A76 #1B4F7A #1B207A
triadic
#1B4F7A #7A1B4F #4F7A1B
tetradic
#1B4F7A #761B7A #7A461B #207A1B
square
#1B4F7A #761B7A #7A461B #207A1B
split-complementary
#1B4F7A #7A1B20 #7A761B
monochromatic
#061019 #102F48 #1B4F7A #266FAC #3C8FD4

Accessibility & contrast

On white

8.59
#1B4F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4F7A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F7A#FFFFFF#000000##FFFFFF
##1B4F7A1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4f7a;
/* rgb */ color: rgb(27, 79, 122);
/* oklch */ color: oklch(41.5% 0.090 247.3);
Tailwind
colors: {
  custom: {
    50: '#6680a0',
    500: '#1b4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f7a;
$custom-light: #6680a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f7a",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 207.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.09027,
    "h": 247.3
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#1B4F7A
secondary
#AE7343
accent
#8C41E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1B4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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