#2651A2#2651A2

#2651A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.140 H 261.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2651A2
RGBrgb(38, 81, 162)
HSLhsl(219, 62%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(76.5%, 50%, 0%, 36.5%)
CIE-LABlab(35.80, 14.80, -48.15)
CIE-LCHlch(35.80, 50.38, 287.09°)
OKLaboklab(45.15% -0.0204 -0.1384)
OKLCHoklch(45.15% 0.14 261.6)
XYZxyz(10.2610, 8.9044, 35.3533)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651A2 #A27726
analogous
#268FA2 #2651A2 #3926A2
triadic
#2651A2 #A22651 #51A226
tetradic
#2651A2 #A2268F #A27726 #26A239
square
#2651A2 #A2268F #A27726 #26A239
split-complementary
#2651A2 #A23926 #8FA226
monochromatic
#0F1F3F #1A3870 #2651A2 #356BD0 #678FDB

Accessibility & contrast

On white

7.55
#2651A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2651A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651A2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651A2#FFFFFF#000000##FFFFFF
##2651A21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2651a2;
/* rgb */ color: rgb(38, 81, 162);
/* oklch */ color: oklch(45.1% 0.140 261.6);
Tailwind
colors: {
  custom: {
    50: '#7381be',
    500: '#2651a2',
    950: '#000000',
  },
}
SCSS
$custom: #2651a2;
$custom-light: #7381be;
$custom-dark: #000000;
JSON
{
  "hex": "#2651a2",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 219.194,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.1399,
    "h": 261.6
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#2651A2
secondary
#C1A063
accent
#AD43E5
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2651A2

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

Preview Lab → · Contrast checker → · Palette generator →

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