#2D52BC#2D52BC

#2D52BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.172 H 265.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2D52BC
RGBrgb(45, 82, 188)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 74%)
CMYKcmyk(76.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(38.24, 24.97, -59.59)
CIE-LCHlch(38.24, 64.61, 292.74°)
OKLaboklab(47.67% -0.0133 -0.1719)
OKLCHoklch(47.67% 0.172 265.6)
XYZxyz(13.1734, 10.2218, 48.8459)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52BC #BC972D
analogous
#2D99BC #2D52BC #502DBC
triadic
#2D52BC #BC2D52 #52BC2D
tetradic
#2D52BC #BC2D99 #BC972D #2DBC50
square
#2D52BC #BC2D99 #BC972D #2DBC50
split-complementary
#2D52BC #BC502D #99BC2D
monochromatic
#152759 #213C8B #2D52BC #5173D5 #829BE1

Accessibility & contrast

On white

6.90
#2D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D52BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52BC#FFFFFF#000000##FFFFFF
##2D52BC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d52bc;
/* rgb */ color: rgb(45, 82, 188);
/* oklch */ color: oklch(47.7% 0.172 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b82d1',
    500: '#2d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d52bc;
$custom-light: #7b82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52bc",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 224.476,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.17242,
    "h": 265.6
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#2D52BC
secondary
#CAB67B
accent
#BB43E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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