#1B6874#1B6874

#1B6874 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.8% C 0.074 H 210.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#1B6874
RGBrgb(27, 104, 116)
HSLhsl(188, 62%, 28%)
HSVhsv(188, 77%, 45%)
CMYKcmyk(76.7%, 10.3%, 0%, 54.5%)
CIE-LABlab(40.24, -18.33, -13.35)
CIE-LCHlch(40.24, 22.68, 216.06°)
OKLaboklab(47.76% -0.0637 -0.0371)
OKLCHoklch(47.76% 0.074 210.3)
XYZxyz(8.5533, 11.3936, 18.2680)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6874 #74271B
analogous
#1B7453 #1B6874 #1B3B74
triadic
#1B6874 #741B68 #68741B
tetradic
#1B6874 #531B74 #74271B #3B741B
square
#1B6874 #531B74 #74271B #3B741B
split-complementary
#1B6874 #741B3B #74531B
monochromatic
#061619 #0F3B42 #1B6874 #2795A6 #39BCD1

Accessibility & contrast

On white

6.40
#1B6874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#1B6874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6874
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6874#FFFFFF#000000##FFFFFF
##1B68741.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#525B74
Tritanopia (blue-blind)
#006D6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1b6874;
/* rgb */ color: rgb(27, 104, 116);
/* oklch */ color: oklch(47.8% 0.074 210.3);
Tailwind
colors: {
  custom: {
    50: '#67939c',
    500: '#1b6874',
    950: '#000000',
  },
}
SCSS
$custom: #1b6874;
$custom-light: #67939c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6874",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 116
  },
  "hsl": {
    "h": 188.09,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.07373,
    "h": 210.3
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#1B6874
secondary
#A95042
accent
#5842E5
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #1B6874

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

Preview Lab → · Contrast checker → · Palette generator →

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