#2654B5#2654B5

#2654B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.162 H 262.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2654B5
RGBrgb(38, 84, 181)
HSLhsl(221, 65%, 43%)
HSVhsv(221, 79%, 71%)
CMYKcmyk(79%, 53.6%, 0%, 29%)
CIE-LABlab(38.00, 20.20, -55.88)
CIE-LCHlch(38.00, 59.42, 289.88°)
OKLaboklab(47.25% -0.0205 -0.1611)
OKLCHoklch(47.25% 0.162 262.7)
XYZxyz(12.3072, 10.0875, 45.0055)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654B5 #B58726
analogous
#269CB5 #2654B5 #3F26B5
triadic
#2654B5 #B52654 #54B526
tetradic
#2654B5 #B5269C #B58726 #26B53F
square
#2654B5 #B5269C #B58726 #26B53F
split-complementary
#2654B5 #B53F26 #9CB526
monochromatic
#112550 #1B3D82 #2654B5 #4171D7 #7497E2

Accessibility & contrast

On white

6.96
#2654B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2654B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2654B5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654B5#FFFFFF#000000##FFFFFF
##2654B51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2654b5;
/* rgb */ color: rgb(38, 84, 181);
/* oklch */ color: oklch(47.3% 0.162 262.7);
Tailwind
colors: {
  custom: {
    50: '#7783cc',
    500: '#2654b5',
    950: '#000000',
  },
}
SCSS
$custom: #2654b5;
$custom-light: #7783cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2654b5",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 181
  },
  "hsl": {
    "h": 220.699,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.16238,
    "h": 262.7
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#2654B5
secondary
#C9AC6E
accent
#B240E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654B5

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

Preview Lab → · Contrast checker → · Palette generator →

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