#2654B2#2654B2

#2654B2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.158 H 262.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2654B2
RGBrgb(38, 84, 178)
HSLhsl(220, 65%, 42%)
HSVhsv(220, 79%, 70%)
CMYKcmyk(78.7%, 52.8%, 0%, 30.2%)
CIE-LABlab(37.78, 19.04, -54.46)
CIE-LCHlch(37.78, 57.70, 289.27°)
OKLaboklab(47.02% -0.0208 -0.1569)
OKLCHoklch(47.02% 0.158 262.4)
XYZxyz(12.0026, 9.9657, 43.4018)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654B2 #B28426
analogous
#269AB2 #2654B2 #3E26B2
triadic
#2654B2 #B22654 #54B226
tetradic
#2654B2 #B2269A #B28426 #26B23E
square
#2654B2 #B2269A #B28426 #26B23E
split-complementary
#2654B2 #B23E26 #9AB226
monochromatic
#10244D #1B3C80 #2654B2 #3F71D6 #7296E1

Accessibility & contrast

On white

7.02
#2654B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2654B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2654B2#FFFFFF#000000##FFFFFF
##2654B21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2654b2;
/* rgb */ color: rgb(38, 84, 178);
/* oklch */ color: oklch(47.0% 0.158 262.4);
Tailwind
colors: {
  custom: {
    50: '#7683ca',
    500: '#2654b2',
    950: '#000000',
  },
}
SCSS
$custom: #2654b2;
$custom-light: #7683ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2654b2",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 220.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.1583,
    "h": 262.4
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#2654B2
secondary
#C8AA6C
accent
#B140E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654B2

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

Preview Lab → · Contrast checker → · Palette generator →

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