#2654A4#2654A4

#2654A4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.139 H 260.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2654A4
RGBrgb(38, 84, 164)
HSLhsl(218, 62%, 40%)
HSVhsv(218, 77%, 64%)
CMYKcmyk(76.8%, 48.8%, 0%, 35.7%)
CIE-LABlab(36.80, 13.59, -47.73)
CIE-LCHlch(36.80, 49.63, 285.89°)
OKLaboklab(45.96% -0.0227 -0.1371)
OKLCHoklch(45.96% 0.139 260.6)
XYZxyz(10.6681, 9.4318, 36.3730)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654A4 #A47626
analogous
#2693A4 #2654A4 #3726A4
triadic
#2654A4 #A42654 #54A426
tetradic
#2654A4 #A42693 #A47626 #26A437
square
#2654A4 #A42693 #A47626 #26A437
split-complementary
#2654A4 #A43726 #93A426
monochromatic
#0F2141 #1A3B72 #2654A4 #376FD1 #6893DC

Accessibility & contrast

On white

7.27
#2654A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2654A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2654A4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654A4#FFFFFF#000000##FFFFFF
##2654A41.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2654a4;
/* rgb */ color: rgb(38, 84, 164);
/* oklch */ color: oklch(46.0% 0.139 260.6);
Tailwind
colors: {
  custom: {
    50: '#7383bf',
    500: '#2654a4',
    950: '#000000',
  },
}
SCSS
$custom: #2654a4;
$custom-light: #7383bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2654a4",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 218.095,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.13897,
    "h": 260.6
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#2654A4
secondary
#C2A064
accent
#AA42E5
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2654A4

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

Preview Lab → · Contrast checker → · Palette generator →

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