#2654AD#2654AD

#2654AD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.151 H 261.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2654AD
RGBrgb(38, 84, 173)
HSLhsl(220, 64%, 41%)
HSVhsv(220, 78%, 68%)
CMYKcmyk(78%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.42, 17.10, -52.09)
CIE-LCHlch(37.42, 54.82, 288.17°)
OKLaboklab(46.63% -0.0214 -0.1499)
OKLCHoklch(46.63% 0.151 261.9)
XYZxyz(11.5098, 9.7685, 40.8060)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654AD #AD7F26
analogous
#2698AD #2654AD #3C26AD
triadic
#2654AD #AD2654 #54AD26
tetradic
#2654AD #AD2698 #AD7F26 #26AD3C
square
#2654AD #AD2698 #AD7F26 #26AD3C
split-complementary
#2654AD #AD3C26 #98AD26
monochromatic
#102349 #1B3C7B #2654AD #3C70D4 #6E95DF

Accessibility & contrast

On white

7.11
#2654AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2654AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2654AD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654AD#FFFFFF#000000##FFFFFF
##2654AD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2654ad;
/* rgb */ color: rgb(38, 84, 173);
/* oklch */ color: oklch(46.6% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#7583c6',
    500: '#2654ad',
    950: '#000000',
  },
}
SCSS
$custom: #2654ad;
$custom-light: #7583c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2654ad",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 219.556,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46634,
    "c": 0.15143,
    "h": 261.9
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#2654AD
secondary
#C6A669
accent
#AE41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2654AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva