#2C55D4#2C55D4

#2C55D4 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.2% C 0.201 H 265.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2C55D4
RGBrgb(44, 85, 212)
HSLhsl(225, 66%, 50%)
HSVhsv(225, 79%, 83%)
CMYKcmyk(79.2%, 59.9%, 0%, 16.9%)
CIE-LABlab(40.87, 31.90, -69.22)
CIE-LCHlch(40.87, 76.21, 294.74°)
OKLaboklab(50.22% -0.0152 -0.2001)
OKLCHoklch(50.22% 0.201 265.7)
XYZxyz(16.1667, 11.7840, 63.6971)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55D4 #D4AB2C
analogous
#2CA9D4 #2C55D4 #572CD4
triadic
#2C55D4 #D42C55 #55D42C
tetradic
#2C55D4 #D42CA9 #D4AB2C #2CD457
square
#2C55D4 #D42CA9 #D4AB2C #2CD457
split-complementary
#2C55D4 #D4572C #A9D42C
monochromatic
#172C6F #2140A2 #2C55D4 #5F7EDE #92A7E9

Accessibility & contrast

On white

6.26
#2C55D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C55D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55D4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55D4#FFFFFF#000000##FFFFFF
##2C55D41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c55d4;
/* rgb */ color: rgb(44, 85, 212);
/* oklch */ color: oklch(50.2% 0.201 265.7);
Tailwind
colors: {
  custom: {
    50: '#8084e2',
    500: '#2c55d4',
    950: '#000000',
  },
}
SCSS
$custom: #2c55d4;
$custom-light: #8084e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55d4",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 225.357,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.20071,
    "h": 265.7
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#2C55D4
secondary
#D3C188
accent
#C03FE9
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2C55D4

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

Preview Lab → · Contrast checker → · Palette generator →

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