#2865A4#2865A4

#2865A4 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.9% C 0.119 H 252.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2865A4
RGBrgb(40, 101, 164)
HSLhsl(210, 61%, 40%)
HSVhsv(210, 76%, 64%)
CMYKcmyk(75.6%, 38.4%, 0%, 35.7%)
CIE-LABlab(41.90, 2.82, -39.57)
CIE-LCHlch(41.90, 39.67, 274.08°)
OKLaboklab(49.93% -0.0366 -0.1128)
OKLCHoklch(49.93% 0.119 252)
XYZxyz(12.2271, 12.4374, 36.8710)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2865A4 #A46728
analogous
#28A3A4 #2865A4 #2928A4
triadic
#2865A4 #A42865 #65A428
tetradic
#2865A4 #A428A3 #A46728 #28A429
square
#2865A4 #A428A3 #A46728 #28A429
split-complementary
#2865A4 #A42928 #A3A428
monochromatic
#102842 #1C4773 #2865A4 #3A83CF #6BA2DB

Accessibility & contrast

On white

6.02
#2865A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2865A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2865A4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2865A4#FFFFFF#000000##FFFFFF
##2865A41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#00747C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2865a4;
/* rgb */ color: rgb(40, 101, 164);
/* oklch */ color: oklch(49.9% 0.119 252.0);
Tailwind
colors: {
  custom: {
    50: '#7390bf',
    500: '#2865a4',
    950: '#000000',
  },
}
SCSS
$custom: #2865a4;
$custom-light: #7390bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2865a4",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 164
  },
  "hsl": {
    "h": 210.484,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.11856,
    "h": 252
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#2865A4
secondary
#C19566
accent
#9544E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2865A4

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

Preview Lab → · Contrast checker → · Palette generator →

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