#2874BD#2874BD

#2874BD is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.135 H 251.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2874BD
RGBrgb(40, 116, 189)
HSLhsl(209, 65%, 45%)
HSVhsv(209, 79%, 74%)
CMYKcmyk(78.8%, 38.6%, 0%, 25.9%)
CIE-LABlab(47.77, 2.93, -44.85)
CIE-LCHlch(47.77, 44.94, 273.74°)
OKLaboklab(54.97% -0.0439 -0.128)
OKLCHoklch(54.97% 0.135 251.1)
XYZxyz(16.3023, 16.6141, 50.4819)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874BD #BD7128
analogous
#28BDBC #2874BD #2829BD
triadic
#2874BD #BD2874 #74BD28
tetradic
#2874BD #BC28BD #BD7128 #29BD28
square
#2874BD #BC28BD #BD7128 #29BD28
split-complementary
#2874BD #BD2829 #BDBC28
monochromatic
#133658 #1D558A #2874BD #4A93D9 #7CB1E3

Accessibility & contrast

On white

4.86
#2874BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2874BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2874BD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2874BD#FFFFFF#000000##FFFFFF
##2874BD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C0
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2874bd;
/* rgb */ color: rgb(40, 116, 189);
/* oklch */ color: oklch(55.0% 0.135 251.1);
Tailwind
colors: {
  custom: {
    50: '#799bd1',
    500: '#2874bd',
    950: '#000000',
  },
}
SCSS
$custom: #2874bd;
$custom-light: #799bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2874bd",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 209.396,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.1353,
    "h": 251.1
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#2874BD
secondary
#CBA075
accent
#9240E8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2874BD

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

Preview Lab → · Contrast checker → · Palette generator →

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