#2865B7#2865B7

#2865B7 is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.2% C 0.144 H 257.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2865B7
RGBrgb(40, 101, 183)
HSLhsl(214, 64%, 44%)
HSVhsv(214, 78%, 72%)
CMYKcmyk(78.1%, 44.8%, 0%, 28.2%)
CIE-LABlab(43.03, 10.09, -48.94)
CIE-LCHlch(43.03, 49.97, 281.65°)
OKLaboklab(51.17% -0.0323 -0.1403)
OKLCHoklch(51.17% 0.144 257)
XYZxyz(14.0728, 13.1757, 46.5920)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865B7 #B77A28
analogous
#28ACB7 #2865B7 #3228B7
triadic
#2865B7 #B72865 #65B728
tetradic
#2865B7 #B728AC #B77A28 #28B732
square
#2865B7 #B728AC #B77A28 #28B732
split-complementary
#2865B7 #B73228 #ACB728
monochromatic
#122E53 #1D4985 #2865B7 #4683D6 #78A5E1

Accessibility & contrast

On white

5.78
#2865B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2865B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865B7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865B7#FFFFFF#000000##FFFFFF
##2865B71.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#1C60B5
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2865b7;
/* rgb */ color: rgb(40, 101, 183);
/* oklch */ color: oklch(51.2% 0.144 257.0);
Tailwind
colors: {
  custom: {
    50: '#7790cd',
    500: '#2865b7',
    950: '#000000',
  },
}
SCSS
$custom: #2865b7;
$custom-light: #7790cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2865b7",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 183
  },
  "hsl": {
    "h": 214.406,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.14397,
    "h": 257
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#2865B7
secondary
#C9A472
accent
#A041E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865B7

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

Preview Lab → · Contrast checker → · Palette generator →

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