#2536B2#2536B2

#2536B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.194 H 269.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2536B2
RGBrgb(37, 54, 178)
HSLhsl(233, 66%, 42%)
HSVhsv(233, 79%, 70%)
CMYKcmyk(79.2%, 69.7%, 0%, 30.2%)
CIE-LABlab(30.02, 38.58, -67.14)
CIE-LCHlch(30.02, 77.43, 299.88°)
OKLaboklab(41.24% -0.0032 -0.1945)
OKLCHoklch(41.24% 0.194 269.1)
XYZxyz(10.1152, 6.2448, 42.7831)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2536B2 #B2A125
analogous
#257DB2 #2536B2 #5B25B2
triadic
#2536B2 #B22536 #36B225
tetradic
#2536B2 #B2257D #B2A125 #25B25B
square
#2536B2 #B2257D #B2A125 #25B25B
split-complementary
#2536B2 #B25B25 #7DB225
monochromatic
#10174D #1A277F #2536B2 #3D50D7 #707EE1

Accessibility & contrast

On white

9.34
#2536B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2536B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2536B2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2536B2#FFFFFF#000000##FFFFFF
##2536B21.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2536b2;
/* rgb */ color: rgb(37, 54, 178);
/* oklch */ color: oklch(41.2% 0.194 269.1);
Tailwind
colors: {
  custom: {
    50: '#786dca',
    500: '#2536b2',
    950: '#000000',
  },
}
SCSS
$custom: #2536b2;
$custom-light: #786dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2536b2",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 232.766,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.19448,
    "h": 269.1
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#2536B2
secondary
#C8BD6B
accent
#D43FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2536B2

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

Preview Lab → · Contrast checker → · Palette generator →

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