#2654B4#2654B4

#2654B4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.161 H 262.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2654B4
RGBrgb(38, 84, 180)
HSLhsl(221, 65%, 43%)
HSVhsv(221, 79%, 71%)
CMYKcmyk(78.9%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.93, 19.81, -55.41)
CIE-LCHlch(37.93, 58.84, 289.68°)
OKLaboklab(47.18% -0.0206 -0.1597)
OKLCHoklch(47.18% 0.161 262.6)
XYZxyz(12.2049, 10.0466, 44.4671)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2654B4 #B48626
analogous
#269BB4 #2654B4 #3F26B4
triadic
#2654B4 #B42654 #54B426
tetradic
#2654B4 #B4269B #B48626 #26B43F
square
#2654B4 #B4269B #B48626 #26B43F
split-complementary
#2654B4 #B43F26 #9BB426
monochromatic
#11254F #1B3C81 #2654B4 #4071D7 #7397E1

Accessibility & contrast

On white

6.98
#2654B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2654B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2654B4#FFFFFF#000000##FFFFFF
##2654B41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0960B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2654b4;
/* rgb */ color: rgb(38, 84, 180);
/* oklch */ color: oklch(47.2% 0.161 262.6);
Tailwind
colors: {
  custom: {
    50: '#7783cb',
    500: '#2654b4',
    950: '#000000',
  },
}
SCSS
$custom: #2654b4;
$custom-light: #7783cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2654b4",
  "rgb": {
    "r": 38,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 220.563,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.16102,
    "h": 262.6
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#2654B4
secondary
#C9AB6D
accent
#B240E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2654B4

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

Preview Lab → · Contrast checker → · Palette generator →

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