#2651BA#2651BA

#2651BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.173 H 264.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2651BA
RGBrgb(38, 81, 186)
HSLhsl(223, 66%, 44%)
HSVhsv(223, 80%, 73%)
CMYKcmyk(79.6%, 56.5%, 0%, 27.1%)
CIE-LABlab(37.55, 24.12, -59.54)
CIE-LCHlch(37.55, 64.24, 292.05°)
OKLaboklab(47.04% -0.018 -0.1719)
OKLCHoklch(47.04% 0.173 264)
XYZxyz(12.6015, 9.8406, 47.6801)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651BA #BA8F26
analogous
#269BBA #2651BA #4526BA
triadic
#2651BA #BA2651 #51BA26
tetradic
#2651BA #BA269B #BA8F26 #26BA45
square
#2651BA #BA269B #BA8F26 #26BA45
split-complementary
#2651BA #BA4526 #9BBA26
monochromatic
#112554 #1C3B87 #2651BA #446FD9 #7797E3

Accessibility & contrast

On white

7.07
#2651BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2651BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651BA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651BA#FFFFFF#000000##FFFFFF
##2651BA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2651ba;
/* rgb */ color: rgb(38, 81, 186);
/* oklch */ color: oklch(47.0% 0.173 264.0);
Tailwind
colors: {
  custom: {
    50: '#7881d0',
    500: '#2651ba',
    950: '#000000',
  },
}
SCSS
$custom: #2651ba;
$custom-light: #7881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2651ba",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 222.568,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47037,
    "c": 0.17283,
    "h": 264
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#2651BA
secondary
#CBB171
accent
#B83FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2651BA

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

Preview Lab → · Contrast checker → · Palette generator →

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