#2C55D3#2C55D3

#2C55D3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.199 H 265.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2C55D3
RGBrgb(44, 85, 211)
HSLhsl(225, 65%, 50%)
HSVhsv(225, 79%, 83%)
CMYKcmyk(79.1%, 59.7%, 0%, 17.3%)
CIE-LABlab(40.79, 31.53, -68.77)
CIE-LCHlch(40.79, 75.66, 294.63°)
OKLaboklab(50.14% -0.0152 -0.1988)
OKLCHoklch(50.14% 0.199 265.6)
XYZxyz(16.0409, 11.7337, 63.0348)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55D3 #D3AA2C
analogous
#2CA9D3 #2C55D3 #562CD3
triadic
#2C55D3 #D32C55 #55D32C
tetradic
#2C55D3 #D32CA9 #D3AA2C #2CD356
square
#2C55D3 #D32CA9 #D3AA2C #2CD356
split-complementary
#2C55D3 #D3562C #A9D32C
monochromatic
#172C6E #2141A0 #2C55D3 #5F7EDE #91A7E8

Accessibility & contrast

On white

6.27
#2C55D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C55D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55D3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55D3#FFFFFF#000000##FFFFFF
##2C55D31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c55d3;
/* rgb */ color: rgb(44, 85, 211);
/* oklch */ color: oklch(50.1% 0.199 265.6);
Tailwind
colors: {
  custom: {
    50: '#8084e1',
    500: '#2c55d3',
    950: '#000000',
  },
}
SCSS
$custom: #2c55d3;
$custom-light: #8084e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55d3",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 225.269,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.19943,
    "h": 265.6
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#2C55D3
secondary
#D3C088
accent
#BF3FE8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2C55D3

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

Preview Lab → · Contrast checker → · Palette generator →

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