#2532A5#2532A5

#2532A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.182 H 270.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2532A5
RGBrgb(37, 50, 165)
HSLhsl(234, 63%, 40%)
HSVhsv(234, 78%, 65%)
CMYKcmyk(77.6%, 69.7%, 0%, 35.3%)
CIE-LABlab(27.82, 36.40, -62.97)
CIE-LCHlch(27.82, 72.73, 300.03°)
OKLaboklab(39.26% 0.0001 -0.1823)
OKLCHoklch(39.26% 0.182 270)
XYZxyz(8.6928, 5.3902, 36.1723)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2532A5 #A59825
analogous
#2572A5 #2532A5 #5825A5
triadic
#2532A5 #A52532 #32A525
tetradic
#2532A5 #A52572 #A59825 #25A558
square
#2532A5 #A52572 #A59825 #25A558
split-complementary
#2532A5 #A55825 #72A525
monochromatic
#0F1441 #1A2373 #2532A5 #3545D2 #6773DD

Accessibility & contrast

On white

10.10
#2532A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2532A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2532A5
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2532A5#FFFFFF#000000##FFFFFF
##2532A51.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2532a5;
/* rgb */ color: rgb(37, 50, 165);
/* oklch */ color: oklch(39.3% 0.182 270.0);
Tailwind
colors: {
  custom: {
    50: '#756ac1',
    500: '#2532a5',
    950: '#000000',
  },
}
SCSS
$custom: #2532a5;
$custom-light: #756ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2532a5",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 233.906,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.18228,
    "h": 270
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#2532A5
secondary
#C3B963
accent
#D641E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2532A5

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

Preview Lab → · Contrast checker → · Palette generator →

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