#2867B3#2867B3

#2867B3 is a mid, vivid cyan. Relative luminance 0.134; OKLCH L 51.4% C 0.136 H 255.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2867B3
RGBrgb(40, 103, 179)
HSLhsl(213, 63%, 43%)
HSVhsv(213, 78%, 70%)
CMYKcmyk(77.7%, 42.5%, 0%, 29.8%)
CIE-LABlab(43.37, 7.28, -46.06)
CIE-LCHlch(43.37, 46.63, 278.98°)
OKLaboklab(51.36% -0.0348 -0.1318)
OKLCHoklch(51.36% 0.136 255.2)
XYZxyz(13.8590, 13.4047, 44.4960)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867B3 #B37428
analogous
#28ACB3 #2867B3 #2F28B3
triadic
#2867B3 #B32867 #67B328
tetradic
#2867B3 #B328AC #B37428 #28B32F
square
#2867B3 #B328AC #B37428 #28B32F
split-complementary
#2867B3 #B32F28 #ACB328
monochromatic
#122D4F #1D4A81 #2867B3 #4385D5 #75A6E0

Accessibility & contrast

On white

5.70
#2867B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2867B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867B3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867B3#FFFFFF#000000##FFFFFF
##2867B31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2867b3;
/* rgb */ color: rgb(40, 103, 179);
/* oklch */ color: oklch(51.4% 0.136 255.2);
Tailwind
colors: {
  custom: {
    50: '#7691ca',
    500: '#2867b3',
    950: '#000000',
  },
}
SCSS
$custom: #2867b3;
$custom-light: #7691ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2867b3",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 179
  },
  "hsl": {
    "h": 212.806,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.13632,
    "h": 255.2
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

primary
#2867B3
secondary
#C8A06F
accent
#9C41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867B3

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

Preview Lab → · Contrast checker → · Palette generator →

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