#2535A5#2535A5

#2535A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.179 H 269.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2535A5
RGBrgb(37, 53, 165)
HSLhsl(233, 63%, 40%)
HSVhsv(233, 78%, 65%)
CMYKcmyk(77.6%, 67.9%, 0%, 35.3%)
CIE-LABlab(28.53, 34.49, -61.81)
CIE-LCHlch(28.53, 70.78, 299.17°)
OKLaboklab(39.77% -0.0015 -0.1789)
OKLCHoklch(39.77% 0.179 269.5)
XYZxyz(8.8253, 5.6552, 36.2165)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535A5 #A59525
analogous
#2575A5 #2535A5 #5525A5
triadic
#2535A5 #A52535 #35A525
tetradic
#2535A5 #A52575 #A59525 #25A555
square
#2535A5 #A52575 #A59525 #25A555
split-complementary
#2535A5 #A55525 #75A525
monochromatic
#0F1541 #1A2573 #2535A5 #3549D2 #6776DD

Accessibility & contrast

On white

9.85
#2535A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2535A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535A5
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535A5#FFFFFF#000000##FFFFFF
##2535A51.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2535a5;
/* rgb */ color: rgb(37, 53, 165);
/* oklch */ color: oklch(39.8% 0.179 269.5);
Tailwind
colors: {
  custom: {
    50: '#756cc1',
    500: '#2535a5',
    950: '#000000',
  },
}
SCSS
$custom: #2535a5;
$custom-light: #756cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2535a5",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 232.5,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.17889,
    "h": 269.5
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#2535A5
secondary
#C3B763
accent
#D241E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2535A5

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

Preview Lab → · Contrast checker → · Palette generator →

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