#2654AB#2654AB

#2654AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.149 H 261.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2654AB
RGBrgb(38, 84, 171)
HSLhsl(219, 64%, 41%)
HSVhsv(219, 78%, 67%)
CMYKcmyk(77.8%, 50.9%, 0%, 32.9%)
CIE-LABlab(37.28, 16.32, -51.13)
CIE-LCHlch(37.28, 53.67, 287.70°)
OKLaboklab(46.48% -0.0217 -0.1471)
OKLCHoklch(46.48% 0.149 261.6)
XYZxyz(11.3177, 9.6917, 39.7944)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654AB #AB7D26
analogous
#2696AB #2654AB #3A26AB
triadic
#2654AB #AB2654 #54AB26
tetradic
#2654AB #AB2696 #AB7D26 #26AB3A
square
#2654AB #AB2696 #AB7D26 #26AB3A
split-complementary
#2654AB #AB3A26 #96AB26
monochromatic
#102347 #1B3B79 #2654AB #3B70D3 #6D94DF

Accessibility & contrast

On white

7.15
#2654AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2654AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2654AB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2654AB#FFFFFF#000000##FFFFFF
##2654AB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2654ab;
/* rgb */ color: rgb(38, 84, 171);
/* oklch */ color: oklch(46.5% 0.149 261.6);
Tailwind
colors: {
  custom: {
    50: '#7583c5',
    500: '#2654ab',
    950: '#000000',
  },
}
SCSS
$custom: #2654ab;
$custom-light: #7583c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2654ab",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 219.248,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.14868,
    "h": 261.6
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#2654AB
secondary
#C5A568
accent
#AD41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654AB

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

Preview Lab → · Contrast checker → · Palette generator →

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