#2651B3#2651B3

#2651B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.163 H 263.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2651B3
RGBrgb(38, 81, 179)
HSLhsl(222, 65%, 43%)
HSVhsv(222, 79%, 70%)
CMYKcmyk(78.8%, 54.7%, 0%, 29.8%)
CIE-LABlab(37.02, 21.42, -56.28)
CIE-LCHlch(37.02, 60.22, 290.83°)
OKLaboklab(46.47% -0.0185 -0.1623)
OKLCHoklch(46.47% 0.163 263.5)
XYZxyz(11.8755, 9.5502, 43.8566)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651B3 #B38826
analogous
#2698B3 #2651B3 #4126B3
triadic
#2651B3 #B32651 #51B326
tetradic
#2651B3 #B32698 #B38826 #26B341
square
#2651B3 #B32698 #B38826 #26B341
split-complementary
#2651B3 #B34126 #98B326
monochromatic
#11234E #1B3A81 #2651B3 #406ED6 #7294E1

Accessibility & contrast

On white

7.22
#2651B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2651B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651B3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651B3#FFFFFF#000000##FFFFFF
##2651B31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2651b3;
/* rgb */ color: rgb(38, 81, 179);
/* oklch */ color: oklch(46.5% 0.163 263.5);
Tailwind
colors: {
  custom: {
    50: '#7781ca',
    500: '#2651b3',
    950: '#000000',
  },
}
SCSS
$custom: #2651b3;
$custom-light: #7781ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2651b3",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 221.702,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.16338,
    "h": 263.5
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#2651B3
secondary
#C8AC6D
accent
#B540E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2651B3

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

Preview Lab → · Contrast checker → · Palette generator →

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