#1B4876#1B4876

#1B4876 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.092 H 251.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1B4876
RGBrgb(27, 72, 118)
HSLhsl(210, 63%, 28%)
HSVhsv(210, 77%, 46%)
CMYKcmyk(77.1%, 39%, 0%, 53.7%)
CIE-LABlab(29.85, 1.88, -30.73)
CIE-LCHlch(29.85, 30.79, 273.50°)
OKLaboklab(39.53% -0.0289 -0.0875)
OKLCHoklch(39.53% 0.092 251.7)
XYZxyz(6.0381, 6.1751, 18.0097)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4876 #76491B
analogous
#1B7576 #1B4876 #1B1B76
triadic
#1B4876 #761B48 #48761B
tetradic
#1B4876 #761B75 #76491B #1B761B
square
#1B4876 #761B75 #76491B #1B761B
split-complementary
#1B4876 #761B1B #75761B
monochromatic
#060F19 #102A44 #1B4876 #2666A8 #3A85D2

Accessibility & contrast

On white

9.40
#1B4876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B4876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4876
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4876#FFFFFF#000000##FFFFFF
##1B48761.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#254275
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4876;
/* rgb */ color: rgb(27, 72, 118);
/* oklch */ color: oklch(39.5% 0.092 251.7);
Tailwind
colors: {
  custom: {
    50: '#657a9e',
    500: '#1b4876',
    950: '#000000',
  },
}
SCSS
$custom: #1b4876;
$custom-light: #657a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4876",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 210.33,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.09218,
    "h": 251.7
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#1B4876
secondary
#AA7742
accent
#9542E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4876

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

Preview Lab → · Contrast checker → · Palette generator →

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