#2865A1#2865A1

#2865A1 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.7% C 0.115 H 251.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2865A1
RGBrgb(40, 101, 161)
HSLhsl(210, 60%, 39%)
HSVhsv(210, 75%, 63%)
CMYKcmyk(75.2%, 37.3%, 0%, 36.9%)
CIE-LABlab(41.74, 1.69, -38.06)
CIE-LCHlch(41.74, 38.09, 272.54°)
OKLaboklab(49.75% -0.0374 -0.1083)
OKLCHoklch(49.75% 0.115 251)
XYZxyz(11.9594, 12.3303, 35.4610)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A1 #A16428
analogous
#28A1A1 #2865A1 #2829A1
triadic
#2865A1 #A12865 #65A128
tetradic
#2865A1 #A128A1 #A16428 #29A128
square
#2865A1 #A128A1 #A16428 #29A128
split-complementary
#2865A1 #A12829 #A1A128
monochromatic
#10273F #1C4670 #2865A1 #3984CE #6AA2DA

Accessibility & contrast

On white

6.06
#2865A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2865A1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A1#FFFFFF#000000##FFFFFF
##2865A11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A3
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#00737B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2865a1;
/* rgb */ color: rgb(40, 101, 161);
/* oklch */ color: oklch(49.7% 0.115 251.0);
Tailwind
colors: {
  custom: {
    50: '#7390bd',
    500: '#2865a1',
    950: '#000000',
  },
}
SCSS
$custom: #2865a1;
$custom-light: #7390bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a1",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 161
  },
  "hsl": {
    "h": 209.752,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.11461,
    "h": 251
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#2865A1
secondary
#C09265
accent
#9344E3
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865A1

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

Preview Lab → · Contrast checker → · Palette generator →

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