#2535A2#2535A2

#2535A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.175 H 269.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2535A2
RGBrgb(37, 53, 162)
HSLhsl(232, 63%, 39%)
HSVhsv(232, 77%, 64%)
CMYKcmyk(77.2%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.24, 33.39, -60.46)
CIE-LCHlch(28.24, 69.07, 298.91°)
OKLaboklab(39.48% -0.0013 -0.1749)
OKLCHoklch(39.48% 0.175 269.6)
XYZxyz(8.5554, 5.5472, 34.7952)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535A2 #A29225
analogous
#2574A2 #2535A2 #5425A2
triadic
#2535A2 #A22535 #35A225
tetradic
#2535A2 #A22574 #A29225 #25A254
square
#2535A2 #A22574 #A29225 #25A254
split-complementary
#2535A2 #A25425 #74A225
monochromatic
#0E143E #1A2570 #2535A2 #3448D1 #6575DC

Accessibility & contrast

On white

9.95
#2535A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2535A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535A2
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535A2#FFFFFF#000000##FFFFFF
##2535A21.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2535a2;
/* rgb */ color: rgb(37, 53, 162);
/* oklch */ color: oklch(39.5% 0.175 269.6);
Tailwind
colors: {
  custom: {
    50: '#746cbf',
    500: '#2535a2',
    950: '#000000',
  },
}
SCSS
$custom: #2535a2;
$custom-light: #746cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2535a2",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 232.32,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.17495,
    "h": 269.6
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#2535A2
secondary
#C2B561
accent
#D142E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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