#1B4C7B#1B4C7B

#1B4C7B is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.8% C 0.095 H 250.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#1B4C7B
RGBrgb(27, 76, 123)
HSLhsl(209, 64%, 29%)
HSVhsv(209, 78%, 48%)
CMYKcmyk(78%, 38.2%, 0%, 51.8%)
CIE-LABlab(31.42, 1.22, -31.37)
CIE-LCHlch(31.42, 31.39, 272.23°)
OKLaboklab(40.85% -0.0315 -0.0893)
OKLCHoklch(40.85% 0.095 250.6)
XYZxyz(6.6102, 6.8312, 19.7052)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C7B #7B4A1B
analogous
#1B7B7A #1B4C7B #1B1C7B
triadic
#1B4C7B #7B1B4C #4C7B1B
tetradic
#1B4C7B #7A1B7B #7B4A1B #1C7B1B
square
#1B4C7B #7A1B7B #7B4A1B #1C7B1B
split-complementary
#1B4C7B #7B1B1C #7B7A1B
monochromatic
#061019 #102D49 #1B4C7B #266BAD #3C8AD4

Accessibility & contrast

On white

8.87
#1B4C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B4C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C7B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C7B#FFFFFF#000000##FFFFFF
##1B4C7B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4c7b;
/* rgb */ color: rgb(27, 76, 123);
/* oklch */ color: oklch(40.8% 0.095 250.6);
Tailwind
colors: {
  custom: {
    50: '#667da1',
    500: '#1b4c7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c7b;
$custom-light: #667da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c7b",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 209.375,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.09472,
    "h": 250.6
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#1B4C7B
secondary
#AF7843
accent
#9241E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1B4C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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