#2D52AE#2D52AE

#2D52AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.153 H 264.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2D52AE
RGBrgb(45, 82, 174)
HSLhsl(223, 59%, 43%)
HSVhsv(223, 74%, 68%)
CMYKcmyk(74.1%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.20, 19.67, -53.02)
CIE-LCHlch(37.20, 56.55, 290.35°)
OKLaboklab(46.56% -0.0144 -0.1526)
OKLCHoklch(46.56% 0.153 264.6)
XYZxyz(11.7368, 9.6472, 41.2797)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52AE #AE892D
analogous
#2D92AE #2D52AE #492DAE
triadic
#2D52AE #AE2D52 #52AE2D
tetradic
#2D52AE #AE2D92 #AE892D #2DAE49
square
#2D52AE #AE2D92 #AE892D #2DAE49
split-complementary
#2D52AE #AE492D #92AE2D
monochromatic
#14244D #203B7D #2D52AE #486FD0 #7996DC

Accessibility & contrast

On white

7.17
#2D52AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2D52AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D52AE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52AE#FFFFFF#000000##FFFFFF
##2D52AE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d52ae;
/* rgb */ color: rgb(45, 82, 174);
/* oklch */ color: oklch(46.6% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#7882c7',
    500: '#2d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d52ae;
$custom-light: #7882c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52ae",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 222.791,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.15328,
    "h": 264.6
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#2D52AE
secondary
#C4AD72
accent
#B546E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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