#2536A5#2536A5

#2536A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.178 H 269.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2536A5
RGBrgb(37, 54, 165)
HSLhsl(232, 63%, 40%)
HSVhsv(232, 78%, 65%)
CMYKcmyk(77.6%, 67.3%, 0%, 35.3%)
CIE-LABlab(28.77, 33.85, -61.41)
CIE-LCHlch(28.77, 70.12, 298.86°)
OKLaboklab(39.95% -0.0021 -0.1777)
OKLCHoklch(39.95% 0.178 269.3)
XYZxyz(8.8713, 5.7473, 36.2318)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2536A5 #A59425
analogous
#2576A5 #2536A5 #5425A5
triadic
#2536A5 #A52536 #36A525
tetradic
#2536A5 #A52576 #A59425 #25A554
square
#2536A5 #A52576 #A59425 #25A554
split-complementary
#2536A5 #A55425 #76A525
monochromatic
#0F1541 #1A2673 #2536A5 #354AD2 #6777DD

Accessibility & contrast

On white

9.77
#2536A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2536A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2536A5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2536A5#FFFFFF#000000##FFFFFF
##2536A51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2536a5;
/* rgb */ color: rgb(37, 54, 165);
/* oklch */ color: oklch(39.9% 0.178 269.3);
Tailwind
colors: {
  custom: {
    50: '#756dc1',
    500: '#2536a5',
    950: '#000000',
  },
}
SCSS
$custom: #2536a5;
$custom-light: #756dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2536a5",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 232.031,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.17773,
    "h": 269.3
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2536A5
secondary
#C3B663
accent
#D041E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2536A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2536A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva