#2864B9#2864B9

#2864B9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.148 H 257.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2864B9
RGBrgb(40, 100, 185)
HSLhsl(215, 64%, 44%)
HSVhsv(215, 78%, 73%)
CMYKcmyk(78.4%, 45.9%, 0%, 27.5%)
CIE-LABlab(42.86, 11.50, -50.37)
CIE-LCHlch(42.86, 51.67, 282.86°)
OKLaboklab(51.08% -0.0311 -0.1445)
OKLCHoklch(51.08% 0.148 257.8)
XYZxyz(14.1860, 13.0666, 47.6640)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B9 #B97D28
analogous
#28ADB9 #2864B9 #3428B9
triadic
#2864B9 #B92864 #64B928
tetradic
#2864B9 #B928AD #B97D28 #28B934
square
#2864B9 #B928AD #B97D28 #28B934
split-complementary
#2864B9 #B93428 #ADB928
monochromatic
#122E54 #1D4987 #2864B9 #4783D7 #79A5E2

Accessibility & contrast

On white

5.81
#2864B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2864B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B9#FFFFFF#000000##FFFFFF
##2864B91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376CBC
Deuteranopia (green-blind)
#145FB7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2864b9;
/* rgb */ color: rgb(40, 100, 185);
/* oklch */ color: oklch(51.1% 0.148 257.8);
Tailwind
colors: {
  custom: {
    50: '#788fce',
    500: '#2864b9',
    950: '#000000',
  },
}
SCSS
$custom: #2864b9;
$custom-light: #788fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b9",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 185
  },
  "hsl": {
    "h": 215.172,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.14784,
    "h": 257.8
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#2864B9
secondary
#CAA673
accent
#A240E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2864B9

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

Preview Lab → · Contrast checker → · Palette generator →

#2864B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva