#2532A2#2532A2

#2532A2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.178 H 270.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2532A2
RGBrgb(37, 50, 162)
HSLhsl(234, 63%, 39%)
HSVhsv(234, 77%, 64%)
CMYKcmyk(77.2%, 69.1%, 0%, 36.5%)
CIE-LABlab(27.52, 35.31, -61.64)
CIE-LCHlch(27.52, 71.04, 299.81°)
OKLaboklab(38.96% 0.0004 -0.1784)
OKLCHoklch(38.96% 0.178 270.1)
XYZxyz(8.4229, 5.2822, 34.7511)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2532A2 #A29525
analogous
#2571A2 #2532A2 #5725A2
triadic
#2532A2 #A22532 #32A225
tetradic
#2532A2 #A22571 #A29525 #25A257
square
#2532A2 #A22571 #A29525 #25A257
split-complementary
#2532A2 #A25725 #71A225
monochromatic
#0E133E #1A2370 #2532A2 #3444D1 #6572DC

Accessibility & contrast

On white

10.21
#2532A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2532A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2532A2
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2532A2#FFFFFF#000000##FFFFFF
##2532A21.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2532a2;
/* rgb */ color: rgb(37, 50, 162);
/* oklch */ color: oklch(39.0% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#756abf',
    500: '#2532a2',
    950: '#000000',
  },
}
SCSS
$custom: #2532a2;
$custom-light: #756abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2532a2",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 233.76,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.1784,
    "h": 270.1
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#2532A2
secondary
#C2B861
accent
#D542E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2532A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2532A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva