#2532A7#2532A7

#2532A7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.185 H 270.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2532A7
RGBrgb(37, 50, 167)
HSLhsl(234, 64%, 40%)
HSVhsv(234, 78%, 65%)
CMYKcmyk(77.8%, 70.1%, 0%, 34.5%)
CIE-LABlab(28.02, 37.12, -63.85)
CIE-LCHlch(28.02, 73.85, 300.17°)
OKLaboklab(39.46% -0.0001 -0.1848)
OKLCHoklch(39.46% 0.185 270)
XYZxyz(8.8762, 5.4636, 37.1385)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2532A7 #A79A25
analogous
#2573A7 #2532A7 #5925A7
triadic
#2532A7 #A72532 #32A725
tetradic
#2532A7 #A72573 #A79A25 #25A759
square
#2532A7 #A72573 #A79A25 #25A759
split-complementary
#2532A7 #A75925 #73A725
monochromatic
#0F1443 #1A2375 #2532A7 #3746D3 #6974DE

Accessibility & contrast

On white

10.03
#2532A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2532A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2532A7
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2532A7#FFFFFF#000000##FFFFFF
##2532A71.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2532a7;
/* rgb */ color: rgb(37, 50, 167);
/* oklch */ color: oklch(39.5% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#766ac2',
    500: '#2532a7',
    950: '#000000',
  },
}
SCSS
$custom: #2532a7;
$custom-light: #766ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2532a7",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 234,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.18485,
    "h": 270
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#2532A7
secondary
#C4BA64
accent
#D641E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2532A7

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

Preview Lab → · Contrast checker → · Palette generator →

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