#2867B2#2867B2

#2867B2 is a mid, vivid cyan. Relative luminance 0.134; OKLCH L 51.3% C 0.135 H 254.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2867B2
RGBrgb(40, 103, 178)
HSLhsl(213, 63%, 43%)
HSVhsv(213, 78%, 70%)
CMYKcmyk(77.5%, 42.1%, 0%, 30.2%)
CIE-LABlab(43.31, 6.89, -45.57)
CIE-LCHlch(43.31, 46.09, 278.60°)
OKLaboklab(51.29% -0.0351 -0.1304)
OKLCHoklch(51.29% 0.135 254.9)
XYZxyz(13.7582, 13.3644, 43.9653)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867B2 #B27328
analogous
#28ACB2 #2867B2 #2E28B2
triadic
#2867B2 #B22867 #67B228
tetradic
#2867B2 #B228AC #B27328 #28B22E
square
#2867B2 #B228AC #B27328 #28B22E
split-complementary
#2867B2 #B22E28 #ACB228
monochromatic
#122D4E #1D4A80 #2867B2 #4385D5 #75A6E0

Accessibility & contrast

On white

5.72
#2867B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2867B2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867B2#FFFFFF#000000##FFFFFF
##2867B21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#2A61B1
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2867b2;
/* rgb */ color: rgb(40, 103, 178);
/* oklch */ color: oklch(51.3% 0.135 254.9);
Tailwind
colors: {
  custom: {
    50: '#7691c9',
    500: '#2867b2',
    950: '#000000',
  },
}
SCSS
$custom: #2867b2;
$custom-light: #7691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2867b2",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 212.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51289,
    "c": 0.13499,
    "h": 254.9
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#2867B2
secondary
#C79F6F
accent
#9B41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867B2

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

Preview Lab → · Contrast checker → · Palette generator →

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