#2D55C4#2D55C4

#2D55C4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.179 H 265.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2D55C4
RGBrgb(45, 85, 196)
HSLhsl(224, 63%, 47%)
HSVhsv(224, 77%, 77%)
CMYKcmyk(77%, 56.6%, 0%, 23.1%)
CIE-LABlab(39.65, 26.02, -61.97)
CIE-LCHlch(39.65, 67.21, 292.78°)
OKLaboklab(48.92% -0.015 -0.1788)
OKLCHoklch(48.92% 0.179 265.2)
XYZxyz(14.2910, 11.0388, 53.5914)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55C4 #C49C2D
analogous
#2DA1C4 #2D55C4 #512DC4
triadic
#2D55C4 #C42D55 #55C42D
tetradic
#2D55C4 #C42DA1 #C49C2D #2DC451
square
#2D55C4 #C42DA1 #C49C2D #2DC451
split-complementary
#2D55C4 #C4512D #A1C42D
monochromatic
#162A60 #223F92 #2D55C4 #5678D8 #88A0E4

Accessibility & contrast

On white

6.55
#2D55C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2D55C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55C4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55C4#FFFFFF#000000##FFFFFF
##2D55C41.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d55c4;
/* rgb */ color: rgb(45, 85, 196);
/* oklch */ color: oklch(48.9% 0.179 265.2);
Tailwind
colors: {
  custom: {
    50: '#7d84d7',
    500: '#2d55c4',
    950: '#000000',
  },
}
SCSS
$custom: #2d55c4;
$custom-light: #7d84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55c4",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 224.106,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.17948,
    "h": 265.2
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#2D55C4
secondary
#CDB980
accent
#BA42E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D55C4

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

Preview Lab → · Contrast checker → · Palette generator →

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