#2532A4#2532A4

#2532A4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.181 H 270.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2532A4
RGBrgb(37, 50, 164)
HSLhsl(234, 63%, 39%)
HSVhsv(234, 77%, 64%)
CMYKcmyk(77.4%, 69.5%, 0%, 35.7%)
CIE-LABlab(27.72, 36.04, -62.52)
CIE-LCHlch(27.72, 72.17, 299.96°)
OKLaboklab(39.16% 0.0002 -0.181)
OKLCHoklch(39.16% 0.181 270.1)
XYZxyz(8.6021, 5.3539, 35.6948)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2532A4 #A49725
analogous
#2572A4 #2532A4 #5725A4
triadic
#2532A4 #A42532 #32A425
tetradic
#2532A4 #A42572 #A49725 #25A457
square
#2532A4 #A42572 #A49725 #25A457
split-complementary
#2532A4 #A45725 #72A425
monochromatic
#0E1440 #1A2372 #2532A4 #3545D1 #6773DD

Accessibility & contrast

On white

10.14
#2532A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2532A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2532A4
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2532A4#FFFFFF#000000##FFFFFF
##2532A41.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2532a4;
/* rgb */ color: rgb(37, 50, 164);
/* oklch */ color: oklch(39.2% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#756ac0',
    500: '#2532a4',
    950: '#000000',
  },
}
SCSS
$custom: #2532a4;
$custom-light: #756ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2532a4",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 233.858,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39157,
    "c": 0.18099,
    "h": 270.1
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#2532A4
secondary
#C2B962
accent
#D542E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2532A4

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

Preview Lab → · Contrast checker → · Palette generator →

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