#2651AE#2651AE

#2651AE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.157 H 263.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2651AE
RGBrgb(38, 81, 174)
HSLhsl(221, 64%, 42%)
HSVhsv(221, 78%, 68%)
CMYKcmyk(78.2%, 53.4%, 0%, 31.8%)
CIE-LABlab(36.65, 19.48, -53.93)
CIE-LCHlch(36.65, 57.34, 289.86°)
OKLaboklab(46.07% -0.019 -0.1554)
OKLCHoklch(46.07% 0.157 263)
XYZxyz(11.3790, 9.3516, 41.2415)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651AE #AE8326
analogous
#2695AE #2651AE #3F26AE
triadic
#2651AE #AE2651 #51AE26
tetradic
#2651AE #AE2695 #AE8326 #26AE3F
square
#2651AE #AE2695 #AE8326 #26AE3F
split-complementary
#2651AE #AE3F26 #95AE26
monochromatic
#10224A #1B3A7C #2651AE #3D6DD5 #6F92E0

Accessibility & contrast

On white

7.32
#2651AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2651AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651AE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651AE#FFFFFF#000000##FFFFFF
##2651AE1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2651ae;
/* rgb */ color: rgb(38, 81, 174);
/* oklch */ color: oklch(46.1% 0.157 263.0);
Tailwind
colors: {
  custom: {
    50: '#7581c7',
    500: '#2651ae',
    950: '#000000',
  },
}
SCSS
$custom: #2651ae;
$custom-light: #7581c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2651ae",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 221.029,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.15655,
    "h": 263
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#2651AE
secondary
#C6A96A
accent
#B341E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2651AE

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

Preview Lab → · Contrast checker → · Palette generator →

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