#2C55B5#2C55B5

#2C55B5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.159 H 263.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2C55B5
RGBrgb(44, 85, 181)
HSLhsl(222, 61%, 44%)
HSVhsv(222, 76%, 71%)
CMYKcmyk(75.7%, 53%, 0%, 29%)
CIE-LABlab(38.49, 20.23, -55.07)
CIE-LCHlch(38.49, 58.66, 290.17°)
OKLaboklab(47.69% -0.0169 -0.1586)
OKLCHoklch(47.69% 0.159 263.9)
XYZxyz(12.6247, 10.3673, 45.0428)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55B5 #B58C2C
analogous
#2C9AB5 #2C55B5 #482CB5
triadic
#2C55B5 #B52C55 #55B52C
tetradic
#2C55B5 #B52C9A #B58C2C #2CB548
square
#2C55B5 #B52C9A #B58C2C #2CB548
split-complementary
#2C55B5 #B5482C #9AB52C
monochromatic
#142753 #203E84 #2C55B5 #4B74D3 #7C9ADF

Accessibility & contrast

On white

6.83
#2C55B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2C55B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55B5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55B5#FFFFFF#000000##FFFFFF
##2C55B51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c55b5;
/* rgb */ color: rgb(44, 85, 181);
/* oklch */ color: oklch(47.7% 0.159 263.9);
Tailwind
colors: {
  custom: {
    50: '#7984cc',
    500: '#2c55b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c55b5;
$custom-light: #7984cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55b5",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 222.044,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.15947,
    "h": 263.9
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C55B5

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

Preview Lab → · Contrast checker → · Palette generator →

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