#2654AA#2654AA

#2654AA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.147 H 261.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2654AA
RGBrgb(38, 84, 170)
HSLhsl(219, 63%, 41%)
HSVhsv(219, 78%, 67%)
CMYKcmyk(77.6%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.21, 15.93, -50.64)
CIE-LCHlch(37.21, 53.09, 287.46°)
OKLaboklab(46.41% -0.0218 -0.1457)
OKLCHoklch(46.41% 0.147 261.5)
XYZxyz(11.2227, 9.6537, 39.2943)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654AA #AA7C26
analogous
#2696AA #2654AA #3A26AA
triadic
#2654AA #AA2654 #54AA26
tetradic
#2654AA #AA2696 #AA7C26 #26AA3A
square
#2654AA #AA2696 #AA7C26 #26AA3A
split-complementary
#2654AA #AA3A26 #96AA26
monochromatic
#102346 #1B3B78 #2654AA #3A6FD3 #6C94DE

Accessibility & contrast

On white

7.16
#2654AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2654AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2654AA#FFFFFF#000000##FFFFFF
##2654AA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2654aa;
/* rgb */ color: rgb(38, 84, 170);
/* oklch */ color: oklch(46.4% 0.147 261.5);
Tailwind
colors: {
  custom: {
    50: '#7483c4',
    500: '#2654aa',
    950: '#000000',
  },
}
SCSS
$custom: #2654aa;
$custom-light: #7483c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2654aa",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 219.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.14729,
    "h": 261.5
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#2654AA
secondary
#C5A467
accent
#AD41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654AA

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

Preview Lab → · Contrast checker → · Palette generator →

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