#2867B5#2867B5

#2867B5 is a mid, vivid cyan. Relative luminance 0.135; OKLCH L 51.5% C 0.139 H 255.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2867B5
RGBrgb(40, 103, 181)
HSLhsl(213, 64%, 43%)
HSVhsv(213, 78%, 71%)
CMYKcmyk(77.9%, 43.1%, 0%, 29%)
CIE-LABlab(43.49, 8.04, -47.04)
CIE-LCHlch(43.49, 47.72, 279.70°)
OKLaboklab(51.49% -0.0344 -0.1347)
OKLCHoklch(51.49% 0.139 255.7)
XYZxyz(14.0627, 13.4862, 45.5690)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867B5 #B57628
analogous
#28ADB5 #2867B5 #2F28B5
triadic
#2867B5 #B52867 #67B528
tetradic
#2867B5 #B528AD #B57628 #28B52F
square
#2867B5 #B528AD #B57628 #28B52F
split-complementary
#2867B5 #B52F28 #ADB528
monochromatic
#122E51 #1D4A83 #2867B5 #4485D6 #77A6E1

Accessibility & contrast

On white

5.68
#2867B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2867B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867B5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867B5#FFFFFF#000000##FFFFFF
##2867B51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406EB8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2867b5;
/* rgb */ color: rgb(40, 103, 181);
/* oklch */ color: oklch(51.5% 0.139 255.7);
Tailwind
colors: {
  custom: {
    50: '#7791cc',
    500: '#2867b5',
    950: '#000000',
  },
}
SCSS
$custom: #2867b5;
$custom-light: #7791cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2867b5",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 181
  },
  "hsl": {
    "h": 213.191,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.139,
    "h": 255.7
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#2867B5
secondary
#C8A170
accent
#9D41E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867B5

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

Preview Lab → · Contrast checker → · Palette generator →

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