#2654A2#2654A2

#2654A2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.136 H 260.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2654A2
RGBrgb(38, 84, 162)
HSLhsl(218, 62%, 39%)
HSVhsv(218, 77%, 64%)
CMYKcmyk(76.5%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.67, 12.81, -46.75)
CIE-LCHlch(36.67, 48.48, 285.32°)
OKLaboklab(45.82% -0.023 -0.1342)
OKLCHoklch(45.82% 0.136 260.3)
XYZxyz(10.4889, 9.3602, 35.4293)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654A2 #A27426
analogous
#2692A2 #2654A2 #3626A2
triadic
#2654A2 #A22654 #54A226
tetradic
#2654A2 #A22692 #A27426 #26A236
square
#2654A2 #A22692 #A27426 #26A236
split-complementary
#2654A2 #A23626 #92A226
monochromatic
#0F213F #1A3A70 #2654A2 #356FD0 #6792DB

Accessibility & contrast

On white

7.31
#2654A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2654A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2654A2#FFFFFF#000000##FFFFFF
##2654A21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#0351A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2654a2;
/* rgb */ color: rgb(38, 84, 162);
/* oklch */ color: oklch(45.8% 0.136 260.3);
Tailwind
colors: {
  custom: {
    50: '#7383be',
    500: '#2654a2',
    950: '#000000',
  },
}
SCSS
$custom: #2654a2;
$custom-light: #7383be;
$custom-dark: #000000;
JSON
{
  "hex": "#2654a2",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 217.742,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.13617,
    "h": 260.3
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#2654A2
secondary
#C19E63
accent
#A943E5
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2654A2

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

Preview Lab → · Contrast checker → · Palette generator →

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