#2A52AE#2A52AE

#2A52AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.154 H 263.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2A52AE
RGBrgb(42, 82, 174)
HSLhsl(222, 61%, 42%)
HSVhsv(222, 76%, 68%)
CMYKcmyk(75.9%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.08, 19.29, -53.23)
CIE-LCHlch(37.08, 56.61, 289.92°)
OKLaboklab(46.44% -0.0168 -0.1532)
OKLCHoklch(46.44% 0.154 263.8)
XYZxyz(11.6094, 9.5815, 41.2738)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A52AE #AE862A
analogous
#2A94AE #2A52AE #442AAE
triadic
#2A52AE #AE2A52 #52AE2A
tetradic
#2A52AE #AE2A94 #AE862A #2AAE44
square
#2A52AE #AE2A94 #AE862A #2AAE44
split-complementary
#2A52AE #AE442A #94AE2A
monochromatic
#12244B #1E3B7D #2A52AE #436FD2 #7595DE

Accessibility & contrast

On white

7.20
#2A52AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2A52AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A52AE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A52AE#FFFFFF#000000##FFFFFF
##2A52AE1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a52ae;
/* rgb */ color: rgb(42, 82, 174);
/* oklch */ color: oklch(46.4% 0.154 263.8);
Tailwind
colors: {
  custom: {
    50: '#7782c7',
    500: '#2a52ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a52ae;
$custom-light: #7782c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a52ae",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 221.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.15416,
    "h": 263.8
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#2A52AE
secondary
#C5AB6F
accent
#B444E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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