#2651A4#2651A4

#2651A4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.143 H 261.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2651A4
RGBrgb(38, 81, 164)
HSLhsl(220, 62%, 40%)
HSVhsv(220, 77%, 64%)
CMYKcmyk(76.8%, 50.6%, 0%, 35.7%)
CIE-LABlab(35.94, 15.58, -49.13)
CIE-LCHlch(35.94, 51.54, 287.60°)
OKLaboklab(45.3% -0.0202 -0.1413)
OKLCHoklch(45.3% 0.143 261.9)
XYZxyz(10.4402, 8.9761, 36.2971)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651A4 #A47926
analogous
#2690A4 #2651A4 #3A26A4
triadic
#2651A4 #A42651 #51A426
tetradic
#2651A4 #A42690 #A47926 #26A43A
square
#2651A4 #A42690 #A47926 #26A43A
split-complementary
#2651A4 #A43A26 #90A426
monochromatic
#0F2041 #1A3872 #2651A4 #376BD1 #6890DC

Accessibility & contrast

On white

7.51
#2651A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2651A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651A4
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651A4#FFFFFF#000000##FFFFFF
##2651A41.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2651a4;
/* rgb */ color: rgb(38, 81, 164);
/* oklch */ color: oklch(45.3% 0.143 261.9);
Tailwind
colors: {
  custom: {
    50: '#7381c0',
    500: '#2651a4',
    950: '#000000',
  },
}
SCSS
$custom: #2651a4;
$custom-light: #7381c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2651a4",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 219.524,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.1427,
    "h": 261.9
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#2651A4
secondary
#C2A264
accent
#AE42E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2651A4

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

Preview Lab → · Contrast checker → · Palette generator →

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