#1B4873#1B4873

#1B4873 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.088 H 250.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#1B4873
RGBrgb(27, 72, 115)
HSLhsl(209, 62%, 28%)
HSVhsv(209, 77%, 45%)
CMYKcmyk(76.5%, 37.4%, 0%, 54.9%)
CIE-LABlab(29.68, 0.68, -29.12)
CIE-LCHlch(29.68, 29.13, 271.33°)
OKLaboklab(39.33% -0.0297 -0.0828)
OKLCHoklch(39.33% 0.088 250.2)
XYZxyz(5.8627, 6.1049, 17.0857)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4873 #73461B
analogous
#1B7372 #1B4873 #1B1C73
triadic
#1B4873 #731B48 #48731B
tetradic
#1B4873 #721B73 #73461B #1C731B
square
#1B4873 #721B73 #73461B #1C731B
split-complementary
#1B4873 #731B1C #73721B
monochromatic
#061019 #0F2941 #1B4873 #2767A5 #3886D0

Accessibility & contrast

On white

9.45
#1B4873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4873
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4873#FFFFFF#000000##FFFFFF
##1B48731.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4873;
/* rgb */ color: rgb(27, 72, 115);
/* oklch */ color: oklch(39.3% 0.088 250.2);
Tailwind
colors: {
  custom: {
    50: '#647a9b',
    500: '#1b4873',
    950: '#000000',
  },
}
SCSS
$custom: #1b4873;
$custom-light: #647a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4873",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 209.318,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.088,
    "h": 250.2
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#1B4873
secondary
#A87442
accent
#9243E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4873

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

Preview Lab → · Contrast checker → · Palette generator →

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