#2651AC#2651AC

#2651AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.154 H 262.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2651AC
RGBrgb(38, 81, 172)
HSLhsl(221, 64%, 41%)
HSVhsv(221, 78%, 67%)
CMYKcmyk(77.9%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.51, 18.70, -52.98)
CIE-LCHlch(36.51, 56.18, 289.44°)
OKLaboklab(45.91% -0.0192 -0.1526)
OKLCHoklch(45.91% 0.154 262.8)
XYZxyz(11.1855, 9.2742, 40.2223)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651AC #AC8126
analogous
#2694AC #2651AC #3E26AC
triadic
#2651AC #AC2651 #51AC26
tetradic
#2651AC #AC2694 #AC8126 #26AC3E
square
#2651AC #AC2694 #AC8126 #26AC3E
split-complementary
#2651AC #AC3E26 #94AC26
monochromatic
#102248 #1B397A #2651AC #3B6CD4 #6E92DF

Accessibility & contrast

On white

7.36
#2651AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2651AC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651AC#FFFFFF#000000##FFFFFF
##2651AC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2651ac;
/* rgb */ color: rgb(38, 81, 172);
/* oklch */ color: oklch(45.9% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#7581c5',
    500: '#2651ac',
    950: '#000000',
  },
}
SCSS
$custom: #2651ac;
$custom-light: #7581c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2651ac",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 220.746,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.15379,
    "h": 262.8
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#2651AC
secondary
#C5A868
accent
#B241E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2651AC

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

Preview Lab → · Contrast checker → · Palette generator →

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