#2532B1#2532B1

#2532B1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.197 H 269.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2532B1
RGBrgb(37, 50, 177)
HSLhsl(234, 65%, 42%)
HSVhsv(234, 79%, 69%)
CMYKcmyk(79.1%, 71.8%, 0%, 30.6%)
CIE-LABlab(29.02, 40.68, -68.19)
CIE-LCHlch(29.02, 79.40, 300.82°)
OKLaboklab(40.49% -0.0013 -0.1975)
OKLCHoklch(40.49% 0.197 269.6)
XYZxyz(9.8366, 5.8477, 42.1967)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2532B1 #B1A425
analogous
#2578B1 #2532B1 #5E25B1
triadic
#2532B1 #B12532 #32B125
tetradic
#2532B1 #B12578 #B1A425 #25B15E
square
#2532B1 #B12578 #B1A425 #25B15E
split-complementary
#2532B1 #B15E25 #78B125
monochromatic
#10154C #1A247E #2532B1 #3D4BD6 #6F7AE1

Accessibility & contrast

On white

9.68
#2532B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2532B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2532B1
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2532B1#FFFFFF#000000##FFFFFF
##2532B11.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2532b1;
/* rgb */ color: rgb(37, 50, 177);
/* oklch */ color: oklch(40.5% 0.197 269.6);
Tailwind
colors: {
  custom: {
    50: '#786bca',
    500: '#2532b1',
    950: '#000000',
  },
}
SCSS
$custom: #2532b1;
$custom-light: #786bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2532b1",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 234.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.19749,
    "h": 269.6
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#2532B1
secondary
#C8BF6A
accent
#D93FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2532B1

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

Preview Lab → · Contrast checker → · Palette generator →

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