#2D55C1#2D55C1

#2D55C1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.175 H 265.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2D55C1
RGBrgb(45, 85, 193)
HSLhsl(224, 62%, 47%)
HSVhsv(224, 77%, 76%)
CMYKcmyk(76.7%, 56%, 0%, 24.3%)
CIE-LABlab(39.42, 24.89, -60.59)
CIE-LCHlch(39.42, 65.51, 292.33°)
OKLaboklab(48.68% -0.0152 -0.1748)
OKLCHoklch(48.68% 0.175 265)
XYZxyz(13.9529, 10.9036, 51.8110)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55C1 #C1992D
analogous
#2D9FC1 #2D55C1 #4F2DC1
triadic
#2D55C1 #C12D55 #55C12D
tetradic
#2D55C1 #C12D9F #C1992D #2DC14F
square
#2D55C1 #C12D9F #C1992D #2DC14F
split-complementary
#2D55C1 #C14F2D #9FC12D
monochromatic
#16295E #213F8F #2D55C1 #5477D7 #869FE3

Accessibility & contrast

On white

6.60
#2D55C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D55C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55C1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55C1#FFFFFF#000000##FFFFFF
##2D55C11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d55c1;
/* rgb */ color: rgb(45, 85, 193);
/* oklch */ color: oklch(48.7% 0.175 265.0);
Tailwind
colors: {
  custom: {
    50: '#7c84d5',
    500: '#2d55c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d55c1;
$custom-light: #7c84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55c1",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 193
  },
  "hsl": {
    "h": 223.784,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.17547,
    "h": 265
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#2D55C1
secondary
#CCB77E
accent
#B943E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D55C1

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

Preview Lab → · Contrast checker → · Palette generator →

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