#2868B3#2868B3

#2868B3 is a mid, vivid cyan. Relative luminance 0.136; OKLCH L 51.6% C 0.135 H 254.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2868B3
RGBrgb(40, 104, 179)
HSLhsl(212, 63%, 43%)
HSVhsv(212, 78%, 70%)
CMYKcmyk(77.7%, 41.9%, 0%, 29.8%)
CIE-LABlab(43.66, 6.64, -45.59)
CIE-LCHlch(43.66, 46.07, 278.29°)
OKLaboklab(51.58% -0.0357 -0.1304)
OKLCHoklch(51.58% 0.135 254.7)
XYZxyz(13.9590, 13.6048, 44.5294)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2868B3 #B37328
analogous
#28ADB3 #2868B3 #2D28B3
triadic
#2868B3 #B32868 #68B328
tetradic
#2868B3 #B328AD #B37328 #28B32D
square
#2868B3 #B328AD #B37328 #28B32D
split-complementary
#2868B3 #B32D28 #ADB328
monochromatic
#122E4F #1D4B81 #2868B3 #4386D5 #75A6E0

Accessibility & contrast

On white

5.64
#2868B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2868B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2868B3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2868B3#FFFFFF#000000##FFFFFF
##2868B31.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#2B61B2
Tritanopia (blue-blind)
#007A85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2868b3;
/* rgb */ color: rgb(40, 104, 179);
/* oklch */ color: oklch(51.6% 0.135 254.7);
Tailwind
colors: {
  custom: {
    50: '#7692ca',
    500: '#2868b3',
    950: '#000000',
  },
}
SCSS
$custom: #2868b3;
$custom-light: #7692ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2868b3",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 179
  },
  "hsl": {
    "h": 212.374,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.1352,
    "h": 254.7
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#2868B3
secondary
#C89F6F
accent
#9A41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2868B3

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

Preview Lab → · Contrast checker → · Palette generator →

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