#2535A3#2535A3

#2535A3 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.176 H 269.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2535A3
RGBrgb(37, 53, 163)
HSLhsl(232, 63%, 39%)
HSVhsv(232, 77%, 64%)
CMYKcmyk(77.3%, 67.5%, 0%, 36.1%)
CIE-LABlab(28.33, 33.76, -60.91)
CIE-LCHlch(28.33, 69.64, 299.00°)
OKLaboklab(39.57% -0.0014 -0.1763)
OKLCHoklch(39.57% 0.176 269.6)
XYZxyz(8.6446, 5.5829, 35.2652)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535A3 #A39325
analogous
#2574A3 #2535A3 #5425A3
triadic
#2535A3 #A32535 #35A325
tetradic
#2535A3 #A32574 #A39325 #25A354
square
#2535A3 #A32574 #A39325 #25A354
split-complementary
#2535A3 #A35425 #74A325
monochromatic
#0E153F #1A2571 #2535A3 #3448D1 #6675DC

Accessibility & contrast

On white

9.92
#2535A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2535A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535A3
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535A3#FFFFFF#000000##FFFFFF
##2535A31.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2535a3;
/* rgb */ color: rgb(37, 53, 163);
/* oklch */ color: oklch(39.6% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#756cbf',
    500: '#2535a3',
    950: '#000000',
  },
}
SCSS
$custom: #2535a3;
$custom-light: #756cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2535a3",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 232.381,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.17628,
    "h": 269.6
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2535A3

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

Preview Lab → · Contrast checker → · Palette generator →

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