#2532B0#2532B0

#2532B0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.196 H 269.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2532B0
RGBrgb(37, 50, 176)
HSLhsl(234, 65%, 42%)
HSVhsv(234, 79%, 69%)
CMYKcmyk(79%, 71.6%, 0%, 31%)
CIE-LABlab(28.92, 40.32, -67.76)
CIE-LCHlch(28.92, 78.85, 300.76°)
OKLaboklab(40.39% -0.0011 -0.1962)
OKLCHoklch(40.39% 0.196 269.7)
XYZxyz(9.7373, 5.8080, 41.6737)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2532B0 #B0A325
analogous
#2578B0 #2532B0 #5D25B0
triadic
#2532B0 #B02532 #32B025
tetradic
#2532B0 #B02578 #B0A325 #25B05D
square
#2532B0 #B02578 #B0A325 #25B05D
split-complementary
#2532B0 #B05D25 #78B025
monochromatic
#10154B #1A247D #2532B0 #3C4BD6 #6F79E1

Accessibility & contrast

On white

9.71
#2532B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2532B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2532B0
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2532B0#FFFFFF#000000##FFFFFF
##2532B01.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2532b0;
/* rgb */ color: rgb(37, 50, 176);
/* oklch */ color: oklch(40.4% 0.196 269.7);
Tailwind
colors: {
  custom: {
    50: '#786bc9',
    500: '#2532b0',
    950: '#000000',
  },
}
SCSS
$custom: #2532b0;
$custom-light: #786bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2532b0",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 234.388,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.19624,
    "h": 269.7
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#2532B0
secondary
#C7BF6A
accent
#D840E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2532B0

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

Preview Lab → · Contrast checker → · Palette generator →

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