#2D52B2#2D52B2

#2D52B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.159 H 264.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2D52B2
RGBrgb(45, 82, 178)
HSLhsl(223, 60%, 44%)
HSVhsv(223, 75%, 70%)
CMYKcmyk(74.7%, 53.9%, 0%, 30.2%)
CIE-LABlab(37.49, 21.19, -54.92)
CIE-LCHlch(37.49, 58.87, 291.10°)
OKLaboklab(46.87% -0.014 -0.1582)
OKLCHoklch(46.87% 0.159 264.9)
XYZxyz(12.1325, 9.8055, 43.3641)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52B2 #B28D2D
analogous
#2D94B2 #2D52B2 #4A2DB2
triadic
#2D52B2 #B22D52 #52B22D
tetradic
#2D52B2 #B22D94 #B28D2D #2DB24A
square
#2D52B2 #B22D94 #B28D2D #2DB24A
split-complementary
#2D52B2 #B24A2D #94B22D
monochromatic
#142550 #213B81 #2D52B2 #4B70D1 #7C97DE

Accessibility & contrast

On white

7.09
#2D52B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D52B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D52B2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52B2#FFFFFF#000000##FFFFFF
##2D52B21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d52b2;
/* rgb */ color: rgb(45, 82, 178);
/* oklch */ color: oklch(46.9% 0.159 264.9);
Tailwind
colors: {
  custom: {
    50: '#7982ca',
    500: '#2d52b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d52b2;
$custom-light: #7982ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52b2",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 223.308,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46873,
    "c": 0.1588,
    "h": 264.9
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#2D52B2
secondary
#C6AF75
accent
#B745E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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