#2868B2#2868B2

#2868B2 is a mid, vivid cyan. Relative luminance 0.136; OKLCH L 51.5% C 0.134 H 254.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2868B2
RGBrgb(40, 104, 178)
HSLhsl(212, 63%, 43%)
HSVhsv(212, 78%, 70%)
CMYKcmyk(77.5%, 41.6%, 0%, 30.2%)
CIE-LABlab(43.60, 6.26, -45.10)
CIE-LCHlch(43.60, 45.53, 277.90°)
OKLaboklab(51.52% -0.0359 -0.129)
OKLCHoklch(51.52% 0.134 254.4)
XYZxyz(13.8583, 13.5645, 43.9987)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2868B2 #B27228
analogous
#28ADB2 #2868B2 #2D28B2
triadic
#2868B2 #B22868 #68B228
tetradic
#2868B2 #B228AD #B27228 #28B22D
square
#2868B2 #B228AD #B27228 #28B22D
split-complementary
#2868B2 #B22D28 #ADB228
monochromatic
#122E4E #1D4B80 #2868B2 #4386D5 #75A6E0

Accessibility & contrast

On white

5.66
#2868B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2868B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2868B2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2868B2#FFFFFF#000000##FFFFFF
##2868B21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#2C61B1
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2868b2;
/* rgb */ color: rgb(40, 104, 178);
/* oklch */ color: oklch(51.5% 0.134 254.4);
Tailwind
colors: {
  custom: {
    50: '#7692c9',
    500: '#2868b2',
    950: '#000000',
  },
}
SCSS
$custom: #2868b2;
$custom-light: #7692c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2868b2",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 212.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.13388,
    "h": 254.4
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2868B2

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

Preview Lab → · Contrast checker → · Palette generator →

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