#2654B7#2654B7

#2654B7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.165 H 262.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2654B7
RGBrgb(38, 84, 183)
HSLhsl(221, 66%, 43%)
HSVhsv(221, 79%, 72%)
CMYKcmyk(79.2%, 54.1%, 0%, 28.2%)
CIE-LABlab(38.15, 20.97, -56.82)
CIE-LCHlch(38.15, 60.57, 290.26°)
OKLaboklab(47.41% -0.0203 -0.1638)
OKLCHoklch(47.41% 0.165 262.9)
XYZxyz(12.5138, 10.1701, 46.0941)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654B7 #B78926
analogous
#269CB7 #2654B7 #4126B7
triadic
#2654B7 #B72654 #54B726
tetradic
#2654B7 #B7269C #B78926 #26B741
square
#2654B7 #B7269C #B78926 #26B741
split-complementary
#2654B7 #B74126 #9CB726
monochromatic
#112552 #1B3D84 #2654B7 #4272D8 #7598E2

Accessibility & contrast

On white

6.92
#2654B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2654B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2654B7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654B7#FFFFFF#000000##FFFFFF
##2654B71.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2654b7;
/* rgb */ color: rgb(38, 84, 183);
/* oklch */ color: oklch(47.4% 0.165 262.9);
Tailwind
colors: {
  custom: {
    50: '#7783cd',
    500: '#2654b7',
    950: '#000000',
  },
}
SCSS
$custom: #2654b7;
$custom-light: #7783cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2654b7",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 183
  },
  "hsl": {
    "h": 220.966,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.1651,
    "h": 262.9
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#2654B7
secondary
#CAAD6F
accent
#B33FE9
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2654B7

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

Preview Lab → · Contrast checker → · Palette generator →

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