#2D52D3#2D52D3

#2D52D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.6% C 0.203 H 266.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2D52D3
RGBrgb(45, 82, 211)
HSLhsl(227, 65%, 50%)
HSVhsv(227, 79%, 83%)
CMYKcmyk(78.7%, 61.1%, 0%, 17.3%)
CIE-LABlab(40.07, 33.55, -69.95)
CIE-LCHlch(40.07, 77.58, 295.62°)
OKLaboklab(49.61% -0.0127 -0.2023)
OKLCHoklch(49.61% 0.203 266.4)
XYZxyz(15.8532, 11.2938, 62.9598)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52D3 #D3AE2D
analogous
#2DA5D3 #2D52D3 #5B2DD3
triadic
#2D52D3 #D32D52 #52D32D
tetradic
#2D52D3 #D32DA5 #D3AE2D #2DD35B
square
#2D52D3 #D32DA5 #D3AE2D #2DD35B
split-complementary
#2D52D3 #D35B2D #A5D32D
monochromatic
#172B6E #223EA1 #2D52D3 #607CDE #92A5E8

Accessibility & contrast

On white

6.44
#2D52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D52D3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52D3#FFFFFF#000000##FFFFFF
##2D52D31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d52d3;
/* rgb */ color: rgb(45, 82, 211);
/* oklch */ color: oklch(49.6% 0.203 266.4);
Tailwind
colors: {
  custom: {
    50: '#8082e2',
    500: '#2d52d3',
    950: '#000000',
  },
}
SCSS
$custom: #2d52d3;
$custom-light: #8082e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52d3",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 226.627,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.20271,
    "h": 266.4
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#2D52D3
secondary
#D3C289
accent
#C33FE8
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2D52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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