#2651AF#2651AF

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

Color values

HEX#2651AF
RGBrgb(38, 81, 175)
HSLhsl(221, 64%, 42%)
HSVhsv(221, 78%, 69%)
CMYKcmyk(78.3%, 53.7%, 0%, 31.4%)
CIE-LABlab(36.73, 19.87, -54.40)
CIE-LCHlch(36.73, 57.91, 290.06°)
OKLaboklab(46.15% -0.0189 -0.1568)
OKLCHoklch(46.15% 0.158 263.1)
XYZxyz(11.4769, 9.3907, 41.7569)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2651AF #AF8426
analogous
#2696AF #2651AF #4026AF
triadic
#2651AF #AF2651 #51AF26
tetradic
#2651AF #AF2696 #AF8426 #26AF40
square
#2651AF #AF2696 #AF8426 #26AF40
split-complementary
#2651AF #AF4026 #96AF26
monochromatic
#10224A #1B3A7D #2651AF #3D6DD5 #7093E0

Accessibility & contrast

On white

7.30
#2651AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2651AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2651AF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2651AF#FFFFFF#000000##FFFFFF
##2651AF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065DB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2651af;
/* rgb */ color: rgb(38, 81, 175);
/* oklch */ color: oklch(46.1% 0.158 263.1);
Tailwind
colors: {
  custom: {
    50: '#7681c8',
    500: '#2651af',
    950: '#000000',
  },
}
SCSS
$custom: #2651af;
$custom-light: #7681c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2651af",
  "rgb": {
    "r": 38,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 221.168,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46149,
    "c": 0.15792,
    "h": 263.1
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#2651AF
secondary
#C7AA6A
accent
#B340E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2651AF

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

Preview Lab → · Contrast checker → · Palette generator →

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