#2865B1#2865B1

#2865B1 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.8% C 0.136 H 255.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2865B1
RGBrgb(40, 101, 177)
HSLhsl(213, 63%, 43%)
HSVhsv(213, 77%, 69%)
CMYKcmyk(77.4%, 42.9%, 0%, 30.6%)
CIE-LABlab(42.66, 7.79, -46.02)
CIE-LCHlch(42.66, 46.67, 279.60°)
OKLaboklab(50.77% -0.0335 -0.1317)
OKLCHoklch(50.77% 0.136 255.7)
XYZxyz(13.4616, 12.9312, 43.3729)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865B1 #B17428
analogous
#28A9B1 #2865B1 #3028B1
triadic
#2865B1 #B12865 #65B128
tetradic
#2865B1 #B128A9 #B17428 #28B130
square
#2865B1 #B128A9 #B17428 #28B130
split-complementary
#2865B1 #B13028 #A9B128
monochromatic
#112C4D #1D497F #2865B1 #4283D4 #74A4E0

Accessibility & contrast

On white

5.86
#2865B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2865B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865B1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865B1#FFFFFF#000000##FFFFFF
##2865B11.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB4
Deuteranopia (green-blind)
#265FAF
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2865b1;
/* rgb */ color: rgb(40, 101, 177);
/* oklch */ color: oklch(50.8% 0.136 255.7);
Tailwind
colors: {
  custom: {
    50: '#7690c9',
    500: '#2865b1',
    950: '#000000',
  },
}
SCSS
$custom: #2865b1;
$custom-light: #7690c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2865b1",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 177
  },
  "hsl": {
    "h": 213.285,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.13592,
    "h": 255.7
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#2865B1
secondary
#C79F6E
accent
#9D42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2865B1

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

Preview Lab → · Contrast checker → · Palette generator →

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