#2656A4#2656A4

#2656A4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.137 H 259.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2656A4
RGBrgb(38, 86, 164)
HSLhsl(217, 62%, 40%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(76.8%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.38, 12.26, -46.80)
CIE-LCHlch(37.38, 48.38, 284.68°)
OKLaboklab(46.41% -0.0244 -0.1343)
OKLCHoklch(46.41% 0.137 259.7)
XYZxyz(10.8255, 9.7468, 36.4255)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2656A4 #A47426
analogous
#2695A4 #2656A4 #3526A4
triadic
#2656A4 #A42656 #56A426
tetradic
#2656A4 #A42695 #A47426 #26A435
square
#2656A4 #A42695 #A47426 #26A435
split-complementary
#2656A4 #A43526 #95A426
monochromatic
#0F2241 #1A3C72 #2656A4 #3771D1 #6894DC

Accessibility & contrast

On white

7.12
#2656A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2656A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2656A4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2656A4#FFFFFF#000000##FFFFFF
##2656A41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#0953A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2656a4;
/* rgb */ color: rgb(38, 86, 164);
/* oklch */ color: oklch(46.4% 0.137 259.7);
Tailwind
colors: {
  custom: {
    50: '#7385bf',
    500: '#2656a4',
    950: '#000000',
  },
}
SCSS
$custom: #2656a4;
$custom-light: #7385bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2656a4",
  "rgb": {
    "r": 38,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 217.143,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.13651,
    "h": 259.7
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#2656A4
secondary
#C29E64
accent
#A742E5
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2656A4

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

Preview Lab → · Contrast checker → · Palette generator →

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