#2C55B6#2C55B6

#2C55B6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.161 H 264.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2C55B6
RGBrgb(44, 85, 182)
HSLhsl(222, 61%, 44%)
HSVhsv(222, 76%, 71%)
CMYKcmyk(75.8%, 53.3%, 0%, 28.6%)
CIE-LABlab(38.57, 20.61, -55.54)
CIE-LCHlch(38.57, 59.24, 290.36°)
OKLaboklab(47.77% -0.0168 -0.16)
OKLCHoklch(47.77% 0.161 264)
XYZxyz(12.7277, 10.4085, 45.5851)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55B6 #B68D2C
analogous
#2C9AB6 #2C55B6 #482CB6
triadic
#2C55B6 #B62C55 #55B62C
tetradic
#2C55B6 #B62C9A #B68D2C #2CB648
square
#2C55B6 #B62C9A #B68D2C #2CB648
split-complementary
#2C55B6 #B6482C #9AB62C
monochromatic
#142753 #203E85 #2C55B6 #4C74D4 #7D9AE0

Accessibility & contrast

On white

6.81
#2C55B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C55B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55B6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55B6#FFFFFF#000000##FFFFFF
##2C55B61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C61B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c55b6;
/* rgb */ color: rgb(44, 85, 182);
/* oklch */ color: oklch(47.8% 0.161 264.0);
Tailwind
colors: {
  custom: {
    50: '#7984cd',
    500: '#2c55b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c55b6;
$custom-light: #7984cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55b6",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 182
  },
  "hsl": {
    "h": 222.174,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.16084,
    "h": 264
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#2C55B6
secondary
#C8B076
accent
#B444E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C55B6

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

Preview Lab → · Contrast checker → · Palette generator →

#2C55B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva