#2874B0#2874B0

#2874B0 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.2% C 0.119 H 246.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2874B0
RGBrgb(40, 116, 176)
HSLhsl(206, 63%, 42%)
HSVhsv(206, 77%, 69%)
CMYKcmyk(77.3%, 34.1%, 0%, 31%)
CIE-LABlab(47.07, -1.94, -38.42)
CIE-LCHlch(47.07, 38.47, 267.11°)
OKLaboklab(54.2% -0.0474 -0.1092)
OKLCHoklch(54.2% 0.119 246.5)
XYZxyz(14.9539, 16.0747, 43.3805)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874B0 #B06428
analogous
#28B0A8 #2874B0 #2830B0
triadic
#2874B0 #B02874 #74B028
tetradic
#2874B0 #A828B0 #B06428 #30B028
square
#2874B0 #A828B0 #B06428 #30B028
split-complementary
#2874B0 #B02830 #B0A828
monochromatic
#11324C #1D537E #2874B0 #4193D4 #73B0DF

Accessibility & contrast

On white

4.98
#2874B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2874B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2874B0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2874B0#FFFFFF#000000##FFFFFF
##2874B01.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B3
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2874b0;
/* rgb */ color: rgb(40, 116, 176);
/* oklch */ color: oklch(54.2% 0.119 246.5);
Tailwind
colors: {
  custom: {
    50: '#769bc8',
    500: '#2874b0',
    950: '#000000',
  },
}
SCSS
$custom: #2874b0;
$custom-light: #769bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2874b0",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 176
  },
  "hsl": {
    "h": 206.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.542,
    "c": 0.11901,
    "h": 246.5
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#2874B0
secondary
#C6956D
accent
#8A42E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2874B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2874B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva