#2537B2#2537B2

#2537B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.193 H 268.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2537B2
RGBrgb(37, 55, 178)
HSLhsl(232, 66%, 42%)
HSVhsv(232, 79%, 70%)
CMYKcmyk(79.2%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.25, 37.95, -66.76)
CIE-LCHlch(30.25, 76.79, 299.62°)
OKLaboklab(41.41% -0.0036 -0.1933)
OKLCHoklch(41.41% 0.193 268.9)
XYZxyz(10.1622, 6.3389, 42.7988)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2537B2 #B2A025
analogous
#257EB2 #2537B2 #5925B2
triadic
#2537B2 #B22537 #37B225
tetradic
#2537B2 #B2257E #B2A025 #25B259
square
#2537B2 #B2257E #B2A025 #25B259
split-complementary
#2537B2 #B25925 #7EB225
monochromatic
#10184D #1A277F #2537B2 #3D51D7 #707FE1

Accessibility & contrast

On white

9.26
#2537B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2537B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2537B2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2537B2#FFFFFF#000000##FFFFFF
##2537B21.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2537b2;
/* rgb */ color: rgb(37, 55, 178);
/* oklch */ color: oklch(41.4% 0.193 268.9);
Tailwind
colors: {
  custom: {
    50: '#786eca',
    500: '#2537b2',
    950: '#000000',
  },
}
SCSS
$custom: #2537b2;
$custom-light: #786eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2537b2",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 232.34,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.19337,
    "h": 268.9
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#2537B2
secondary
#C8BC6B
accent
#D33FE9
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2537B2

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

Preview Lab → · Contrast checker → · Palette generator →

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