#2865A2#2865A2

#2865A2 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.8% C 0.116 H 251.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2865A2
RGBrgb(40, 101, 162)
HSLhsl(210, 60%, 40%)
HSVhsv(210, 75%, 64%)
CMYKcmyk(75.3%, 37.7%, 0%, 36.5%)
CIE-LABlab(41.79, 2.06, -38.56)
CIE-LCHlch(41.79, 38.62, 273.06°)
OKLaboklab(49.81% -0.0371 -0.1098)
OKLCHoklch(49.81% 0.116 251.3)
XYZxyz(12.0479, 12.3657, 35.9273)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A2 #A26528
analogous
#28A2A2 #2865A2 #2828A2
triadic
#2865A2 #A22865 #65A228
tetradic
#2865A2 #A228A2 #A26528 #28A228
square
#2865A2 #A228A2 #A26528 #28A228
split-complementary
#2865A2 #A22828 #A2A228
monochromatic
#102840 #1C4671 #2865A2 #3984CE #6AA2DA

Accessibility & contrast

On white

6.05
#2865A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2865A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865A2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A2#FFFFFF#000000##FFFFFF
##2865A21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#365DA1
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2865a2;
/* rgb */ color: rgb(40, 101, 162);
/* oklch */ color: oklch(49.8% 0.116 251.3);
Tailwind
colors: {
  custom: {
    50: '#7390be',
    500: '#2865a2',
    950: '#000000',
  },
}
SCSS
$custom: #2865a2;
$custom-light: #7390be;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a2",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 162
  },
  "hsl": {
    "h": 210,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.11593,
    "h": 251.3
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#2865A2
secondary
#C19365
accent
#9444E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865A2

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

Preview Lab → · Contrast checker → · Palette generator →

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