#2D55D4#2D55D4

#2D55D4 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.3% C 0.200 H 265.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2D55D4
RGBrgb(45, 85, 212)
HSLhsl(226, 66%, 50%)
HSVhsv(226, 79%, 83%)
CMYKcmyk(78.8%, 59.9%, 0%, 16.9%)
CIE-LABlab(40.91, 31.99, -69.16)
CIE-LCHlch(40.91, 76.20, 294.83°)
OKLaboklab(50.26% -0.0144 -0.1999)
OKLCHoklch(50.26% 0.2 265.9)
XYZxyz(16.2102, 11.8065, 63.6991)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55D4 #D4AC2D
analogous
#2DA8D4 #2D55D4 #592DD4
triadic
#2D55D4 #D42D55 #55D42D
tetradic
#2D55D4 #D42DA8 #D4AC2D #2DD459
square
#2D55D4 #D42DA8 #D4AC2D #2DD459
split-complementary
#2D55D4 #D4592D #A8D42D
monochromatic
#172C70 #2140A3 #2D55D4 #607EDE #93A7E9

Accessibility & contrast

On white

6.25
#2D55D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D55D4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55D4#FFFFFF#000000##FFFFFF
##2D55D41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.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: #2d55d4;
/* rgb */ color: rgb(45, 85, 212);
/* oklch */ color: oklch(50.3% 0.200 265.9);
Tailwind
colors: {
  custom: {
    50: '#8084e2',
    500: '#2d55d4',
    950: '#000000',
  },
}
SCSS
$custom: #2d55d4;
$custom-light: #8084e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55d4",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 225.629,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.20047,
    "h": 265.9
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D55D4

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

Preview Lab → · Contrast checker → · Palette generator →

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