#2651AB#2651AB

#2651AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.152 H 262.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2651AB
RGBrgb(38, 81, 171)
HSLhsl(221, 64%, 41%)
HSVhsv(221, 78%, 67%)
CMYKcmyk(77.8%, 52.6%, 0%, 32.9%)
CIE-LABlab(36.43, 18.31, -52.50)
CIE-LCHlch(36.43, 55.60, 289.23°)
OKLaboklab(45.84% -0.0193 -0.1512)
OKLCHoklch(45.84% 0.152 262.7)
XYZxyz(11.0898, 9.2359, 39.7184)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651AB #AB8026
analogous
#2693AB #2651AB #3E26AB
triadic
#2651AB #AB2651 #51AB26
tetradic
#2651AB #AB2693 #AB8026 #26AB3E
square
#2651AB #AB2693 #AB8026 #26AB3E
split-complementary
#2651AB #AB3E26 #93AB26
monochromatic
#102247 #1B3979 #2651AB #3B6CD3 #6D92DF

Accessibility & contrast

On white

7.38
#2651AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2651AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651AB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651AB#FFFFFF#000000##FFFFFF
##2651AB1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2651ab;
/* rgb */ color: rgb(38, 81, 171);
/* oklch */ color: oklch(45.8% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#7581c5',
    500: '#2651ab',
    950: '#000000',
  },
}
SCSS
$custom: #2651ab;
$custom-light: #7581c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2651ab",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 220.602,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.15242,
    "h": 262.7
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#2651AB
secondary
#C5A768
accent
#B141E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2651AB

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

Preview Lab → · Contrast checker → · Palette generator →

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