#2865B4#2865B4

#2865B4 is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 51.0% C 0.140 H 256.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2865B4
RGBrgb(40, 101, 180)
HSLhsl(214, 64%, 43%)
HSVhsv(214, 78%, 71%)
CMYKcmyk(77.8%, 43.9%, 0%, 29.4%)
CIE-LABlab(42.84, 8.94, -47.49)
CIE-LCHlch(42.84, 48.32, 280.66°)
OKLaboklab(50.97% -0.0329 -0.136)
OKLCHoklch(50.97% 0.14 256.4)
XYZxyz(13.7639, 13.0522, 44.9651)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865B4 #B47728
analogous
#28ABB4 #2865B4 #3128B4
triadic
#2865B4 #B42865 #65B428
tetradic
#2865B4 #B428AB #B47728 #28B431
square
#2865B4 #B428AB #B47728 #28B431
split-complementary
#2865B4 #B43128 #ABB428
monochromatic
#122D50 #1D4982 #2865B4 #4483D5 #76A4E1

Accessibility & contrast

On white

5.82
#2865B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2865B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865B4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865B4#FFFFFF#000000##FFFFFF
##2865B41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB7
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2865b4;
/* rgb */ color: rgb(40, 101, 180);
/* oklch */ color: oklch(51.0% 0.140 256.4);
Tailwind
colors: {
  custom: {
    50: '#7790cb',
    500: '#2865b4',
    950: '#000000',
  },
}
SCSS
$custom: #2865b4;
$custom-light: #7790cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2865b4",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 180
  },
  "hsl": {
    "h": 213.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.13995,
    "h": 256.4
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#2865B4
secondary
#C8A270
accent
#9F41E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2865B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva