#2D52AF#2D52AF

#2D52AF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.155 H 264.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2D52AF
RGBrgb(45, 82, 175)
HSLhsl(223, 59%, 43%)
HSVhsv(223, 74%, 69%)
CMYKcmyk(74.3%, 53.1%, 0%, 31.4%)
CIE-LABlab(37.27, 20.05, -53.50)
CIE-LCHlch(37.27, 57.13, 290.54°)
OKLaboklab(46.64% -0.0143 -0.154)
OKLCHoklch(46.64% 0.155 264.7)
XYZxyz(11.8346, 9.6863, 41.7951)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52AF #AF8A2D
analogous
#2D93AF #2D52AF #492DAF
triadic
#2D52AF #AF2D52 #52AF2D
tetradic
#2D52AF #AF2D93 #AF8A2D #2DAF49
square
#2D52AF #AF2D93 #AF8A2D #2DAF49
split-complementary
#2D52AF #AF492D #93AF2D
monochromatic
#14244E #203B7E #2D52AF #496FD0 #7A96DD

Accessibility & contrast

On white

7.15
#2D52AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D52AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D52AF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52AF#FFFFFF#000000##FFFFFF
##2D52AF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d52af;
/* rgb */ color: rgb(45, 82, 175);
/* oklch */ color: oklch(46.6% 0.155 264.7);
Tailwind
colors: {
  custom: {
    50: '#7882c8',
    500: '#2d52af',
    950: '#000000',
  },
}
SCSS
$custom: #2d52af;
$custom-light: #7882c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52af",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 222.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.15466,
    "h": 264.7
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#2D52AF
secondary
#C5AE73
accent
#B646E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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