#2536A2#2536A2

#2536A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.174 H 269.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2536A2
RGBrgb(37, 54, 162)
HSLhsl(232, 63%, 39%)
HSVhsv(232, 77%, 64%)
CMYKcmyk(77.2%, 66.7%, 0%, 36.5%)
CIE-LABlab(28.48, 32.74, -60.06)
CIE-LCHlch(28.48, 68.41, 298.60°)
OKLaboklab(39.65% -0.0019 -0.1738)
OKLCHoklch(39.65% 0.174 269.4)
XYZxyz(8.6015, 5.6393, 34.8106)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2536A2 #A29125
analogous
#2575A2 #2536A2 #5325A2
triadic
#2536A2 #A22536 #36A225
tetradic
#2536A2 #A22575 #A29125 #25A253
square
#2536A2 #A22575 #A29125 #25A253
split-complementary
#2536A2 #A25325 #75A225
monochromatic
#0E153E #1A2570 #2536A2 #3449D1 #6576DC

Accessibility & contrast

On white

9.87
#2536A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2536A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2536A2
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2536A2#FFFFFF#000000##FFFFFF
##2536A21.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2536a2;
/* rgb */ color: rgb(37, 54, 162);
/* oklch */ color: oklch(39.7% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#746dbf',
    500: '#2536a2',
    950: '#000000',
  },
}
SCSS
$custom: #2536a2;
$custom-light: #746dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2536a2",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 231.84,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.17379,
    "h": 269.4
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2536A2

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

Preview Lab → · Contrast checker → · Palette generator →

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