#2867B1#2867B1

#2867B1 is a mid, vivid cyan. Relative luminance 0.133; OKLCH L 51.2% C 0.134 H 254.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2867B1
RGBrgb(40, 103, 177)
HSLhsl(212, 63%, 43%)
HSVhsv(212, 77%, 69%)
CMYKcmyk(77.4%, 41.8%, 0%, 30.6%)
CIE-LABlab(43.25, 6.51, -45.08)
CIE-LCHlch(43.25, 45.55, 278.22°)
OKLaboklab(51.22% -0.0353 -0.1289)
OKLCHoklch(51.22% 0.134 254.7)
XYZxyz(13.6582, 13.3243, 43.4385)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867B1 #B17228
analogous
#28ABB1 #2867B1 #2E28B1
triadic
#2867B1 #B12867 #67B128
tetradic
#2867B1 #B128AB #B17228 #28B12E
square
#2867B1 #B128AB #B17228 #28B12E
split-complementary
#2867B1 #B12E28 #ABB128
monochromatic
#112D4D #1D4A7F #2867B1 #4285D4 #74A5E0

Accessibility & contrast

On white

5.73
#2867B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2867B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867B1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867B1#FFFFFF#000000##FFFFFF
##2867B11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#2B60B0
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2867b1;
/* rgb */ color: rgb(40, 103, 177);
/* oklch */ color: oklch(51.2% 0.134 254.7);
Tailwind
colors: {
  custom: {
    50: '#7691c9',
    500: '#2867b1',
    950: '#000000',
  },
}
SCSS
$custom: #2867b1;
$custom-light: #7691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2867b1",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 177
  },
  "hsl": {
    "h": 212.409,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.13365,
    "h": 254.7
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#2867B1
secondary
#C79E6E
accent
#9B42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2867B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva