#2C55B9#2C55B9

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

Color values

HEX#2C55B9
RGBrgb(44, 85, 185)
HSLhsl(223, 62%, 45%)
HSVhsv(223, 76%, 73%)
CMYKcmyk(76.2%, 54.1%, 0%, 27.5%)
CIE-LABlab(38.78, 21.75, -56.95)
CIE-LCHlch(38.78, 60.96, 290.90°)
OKLaboklab(48% -0.0165 -0.1641)
OKLCHoklch(48% 0.165 264.2)
XYZxyz(13.0411, 10.5338, 47.2355)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55B9 #B9902C
analogous
#2C9CB9 #2C55B9 #492CB9
triadic
#2C55B9 #B92C55 #55B92C
tetradic
#2C55B9 #B92C9C #B9902C #2CB949
square
#2C55B9 #B92C9C #B9902C #2CB949
split-complementary
#2C55B9 #B9492C #9CB92C
monochromatic
#142856 #203E88 #2C55B9 #4D75D5 #7F9BE1

Accessibility & contrast

On white

6.76
#2C55B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2C55B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55B9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55B9#FFFFFF#000000##FFFFFF
##2C55B91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c55b9;
/* rgb */ color: rgb(44, 85, 185);
/* oklch */ color: oklch(48.0% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a84cf',
    500: '#2c55b9',
    950: '#000000',
  },
}
SCSS
$custom: #2c55b9;
$custom-light: #7a84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55b9",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 185
  },
  "hsl": {
    "h": 222.553,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.16493,
    "h": 264.2
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#2C55B9
secondary
#C9B178
accent
#B643E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C55B9

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

Preview Lab → · Contrast checker → · Palette generator →

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