#2D52BF#2D52BF

#2D52BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.176 H 265.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2D52BF
RGBrgb(45, 82, 191)
HSLhsl(225, 62%, 46%)
HSVhsv(225, 76%, 75%)
CMYKcmyk(76.4%, 57.1%, 0%, 25.1%)
CIE-LABlab(38.47, 26.10, -60.97)
CIE-LCHlch(38.47, 66.32, 293.18°)
OKLaboklab(47.92% -0.0131 -0.176)
OKLCHoklch(47.92% 0.176 265.7)
XYZxyz(13.5001, 10.3525, 50.5669)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52BF #BF9A2D
analogous
#2D9BBF #2D52BF #512DBF
triadic
#2D52BF #BF2D52 #52BF2D
tetradic
#2D52BF #BF2D9B #BF9A2D #2DBF51
square
#2D52BF #BF2D9B #BF9A2D #2DBF51
split-complementary
#2D52BF #BF512D #9BBF2D
monochromatic
#16275C #213D8D #2D52BF #5374D6 #849CE2

Accessibility & contrast

On white

6.84
#2D52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D52BF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52BF#FFFFFF#000000##FFFFFF
##2D52BF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d52bf;
/* rgb */ color: rgb(45, 82, 191);
/* oklch */ color: oklch(47.9% 0.176 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c82d3',
    500: '#2d52bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d52bf;
$custom-light: #7c82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52bf",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 224.795,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.17645,
    "h": 265.7
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#2D52BF
secondary
#CBB77C
accent
#BC43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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