#2654AE#2654AE

#2654AE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.153 H 262.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2654AE
RGBrgb(38, 84, 174)
HSLhsl(220, 64%, 42%)
HSVhsv(220, 78%, 68%)
CMYKcmyk(78.2%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.49, 17.48, -52.56)
CIE-LCHlch(37.49, 55.39, 288.40°)
OKLaboklab(46.71% -0.0213 -0.1513)
OKLCHoklch(46.71% 0.153 262)
XYZxyz(11.6069, 9.8074, 41.3175)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654AE #AE8026
analogous
#2698AE #2654AE #3C26AE
triadic
#2654AE #AE2654 #54AE26
tetradic
#2654AE #AE2698 #AE8026 #26AE3C
square
#2654AE #AE2698 #AE8026 #26AE3C
split-complementary
#2654AE #AE3C26 #98AE26
monochromatic
#10244A #1B3C7C #2654AE #3D70D5 #6F95E0

Accessibility & contrast

On white

7.09
#2654AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2654AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2654AE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654AE#FFFFFF#000000##FFFFFF
##2654AE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2654ae;
/* rgb */ color: rgb(38, 84, 174);
/* oklch */ color: oklch(46.7% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#7583c7',
    500: '#2654ae',
    950: '#000000',
  },
}
SCSS
$custom: #2654ae;
$custom-light: #7583c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2654ae",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 219.706,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4671,
    "c": 0.15281,
    "h": 262
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#2654AE
secondary
#C6A76A
accent
#AF41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654AE

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

Preview Lab → · Contrast checker → · Palette generator →

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