#2C55B8#2C55B8

#2C55B8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.164 H 264.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2C55B8
RGBrgb(44, 85, 184)
HSLhsl(222, 61%, 45%)
HSVhsv(222, 76%, 72%)
CMYKcmyk(76.1%, 53.8%, 0%, 27.8%)
CIE-LABlab(38.71, 21.37, -56.48)
CIE-LCHlch(38.71, 60.39, 290.72°)
OKLaboklab(47.92% -0.0166 -0.1627)
OKLCHoklch(47.92% 0.164 264.2)
XYZxyz(12.9359, 10.4917, 46.6815)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55B8 #B88F2C
analogous
#2C9BB8 #2C55B8 #492CB8
triadic
#2C55B8 #B82C55 #55B82C
tetradic
#2C55B8 #B82C9B #B88F2C #2CB849
square
#2C55B8 #B82C9B #B88F2C #2CB849
split-complementary
#2C55B8 #B8492C #9BB82C
monochromatic
#142755 #203E87 #2C55B8 #4D75D4 #7E9BE0

Accessibility & contrast

On white

6.78
#2C55B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C55B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55B8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55B8#FFFFFF#000000##FFFFFF
##2C55B81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c55b8;
/* rgb */ color: rgb(44, 85, 184);
/* oklch */ color: oklch(47.9% 0.164 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a84ce',
    500: '#2c55b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c55b8;
$custom-light: #7a84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55b8",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 222.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.16358,
    "h": 264.2
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#2C55B8
secondary
#C9B177
accent
#B543E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C55B8

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

Preview Lab → · Contrast checker → · Palette generator →

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