#2875B3#2875B3

#2875B3 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.6% C 0.122 H 247.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2875B3
RGBrgb(40, 117, 179)
HSLhsl(207, 63%, 43%)
HSVhsv(207, 78%, 70%)
CMYKcmyk(77.7%, 34.6%, 0%, 29.8%)
CIE-LABlab(47.53, -1.43, -39.44)
CIE-LCHlch(47.53, 39.47, 267.93°)
OKLaboklab(54.61% -0.0474 -0.1121)
OKLCHoklch(54.61% 0.122 247.1)
XYZxyz(15.3699, 16.4265, 44.9997)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2875B3 #B36628
analogous
#28B3AB #2875B3 #282FB3
triadic
#2875B3 #B32875 #75B328
tetradic
#2875B3 #AB28B3 #B36628 #2FB328
square
#2875B3 #AB28B3 #B36628 #2FB328
split-complementary
#2875B3 #B3282F #B3AB28
monochromatic
#12344F #1D5481 #2875B3 #4394D5 #75B0E0

Accessibility & contrast

On white

4.90
#2875B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2875B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2875B3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2875B3#FFFFFF#000000##FFFFFF
##2875B31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5878B6
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2875b3;
/* rgb */ color: rgb(40, 117, 179);
/* oklch */ color: oklch(54.6% 0.122 247.1);
Tailwind
colors: {
  custom: {
    50: '#779cca',
    500: '#2875b3',
    950: '#000000',
  },
}
SCSS
$custom: #2875b3;
$custom-light: #779cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2875b3",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 179
  },
  "hsl": {
    "h": 206.763,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.12177,
    "h": 247.1
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#2875B3
secondary
#C8976F
accent
#8B41E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2875B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2875B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva