#2654B9#2654B9

#2654B9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.168 H 263.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2654B9
RGBrgb(38, 84, 185)
HSLhsl(221, 66%, 44%)
HSVhsv(221, 79%, 73%)
CMYKcmyk(79.5%, 54.6%, 0%, 27.5%)
CIE-LABlab(38.29, 21.75, -57.75)
CIE-LCHlch(38.29, 61.71, 290.64°)
OKLaboklab(47.57% -0.0202 -0.1666)
OKLCHoklch(47.57% 0.168 263.1)
XYZxyz(12.7235, 10.2540, 47.1982)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654B9 #B98B26
analogous
#269DB9 #2654B9 #4126B9
triadic
#2654B9 #B92654 #54B926
tetradic
#2654B9 #B9269D #B98B26 #26B941
square
#2654B9 #B9269D #B98B26 #26B941
split-complementary
#2654B9 #B94126 #9DB926
monochromatic
#112653 #1C3D86 #2654B9 #4472D9 #7698E3

Accessibility & contrast

On white

6.88
#2654B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2654B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2654B9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654B9#FFFFFF#000000##FFFFFF
##2654B91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2654b9;
/* rgb */ color: rgb(38, 84, 185);
/* oklch */ color: oklch(47.6% 0.168 263.1);
Tailwind
colors: {
  custom: {
    50: '#7883cf',
    500: '#2654b9',
    950: '#000000',
  },
}
SCSS
$custom: #2654b9;
$custom-light: #7883cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2654b9",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 185
  },
  "hsl": {
    "h": 221.224,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.1678,
    "h": 263.1
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#2654B9
secondary
#CAAE70
accent
#B43FE9
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2654B9

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

Preview Lab → · Contrast checker → · Palette generator →

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