#2D55CA#2D55CA

#2D55CA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.187 H 265.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2D55CA
RGBrgb(45, 85, 202)
HSLhsl(225, 64%, 48%)
HSVhsv(225, 78%, 79%)
CMYKcmyk(77.7%, 57.9%, 0%, 20.8%)
CIE-LABlab(40.11, 28.27, -64.69)
CIE-LCHlch(40.11, 70.60, 293.61°)
OKLaboklab(49.42% -0.0147 -0.1868)
OKLCHoklch(49.42% 0.187 265.5)
XYZxyz(14.9876, 11.3174, 57.2602)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55CA #CAA22D
analogous
#2DA3CA #2D55CA #532DCA
triadic
#2D55CA #CA2D55 #55CA2D
tetradic
#2D55CA #CA2DA3 #CAA22D #2DCA53
square
#2D55CA #CA2DA3 #CAA22D #2DCA53
split-complementary
#2D55CA #CA532D #A3CA2D
monochromatic
#172B66 #224098 #2D55CA #5A7BDA #8CA3E5

Accessibility & contrast

On white

6.43
#2D55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2D55CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55CA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55CA#FFFFFF#000000##FFFFFF
##2D55CA1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d55ca;
/* rgb */ color: rgb(45, 85, 202);
/* oklch */ color: oklch(49.4% 0.187 265.5);
Tailwind
colors: {
  custom: {
    50: '#7e84db',
    500: '#2d55ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d55ca;
$custom-light: #7e84db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55ca",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 224.713,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.18743,
    "h": 265.5
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#2D55CA
secondary
#CFBC83
accent
#BC41E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2D55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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