#2537A2#2537A2

#2537A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.173 H 269.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2537A2
RGBrgb(37, 55, 162)
HSLhsl(231, 63%, 39%)
HSVhsv(231, 77%, 64%)
CMYKcmyk(77.2%, 66%, 0%, 36.5%)
CIE-LABlab(28.73, 32.09, -59.66)
CIE-LCHlch(28.73, 67.74, 298.28°)
OKLaboklab(39.83% -0.0024 -0.1726)
OKLCHoklch(39.83% 0.173 269.2)
XYZxyz(8.6485, 5.7334, 34.8263)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2537A2 #A29025
analogous
#2576A2 #2537A2 #5225A2
triadic
#2537A2 #A22537 #37A225
tetradic
#2537A2 #A22576 #A29025 #25A252
square
#2537A2 #A22576 #A29025 #25A252
split-complementary
#2537A2 #A25225 #76A225
monochromatic
#0E153E #1A2670 #2537A2 #344AD1 #6577DC

Accessibility & contrast

On white

9.78
#2537A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2537A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2537A2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2537A2#FFFFFF#000000##FFFFFF
##2537A21.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2537a2;
/* rgb */ color: rgb(37, 55, 162);
/* oklch */ color: oklch(39.8% 0.173 269.2);
Tailwind
colors: {
  custom: {
    50: '#746ebf',
    500: '#2537a2',
    950: '#000000',
  },
}
SCSS
$custom: #2537a2;
$custom-light: #746ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2537a2",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 231.36,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.17261,
    "h": 269.2
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#2537A2
secondary
#C2B461
accent
#CE42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2537A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2537A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva