#2535C6#2535C6

#2535C6 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.220 H 268.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2535C6
RGBrgb(37, 53, 198)
HSLhsl(234, 69%, 46%)
HSVhsv(234, 81%, 78%)
CMYKcmyk(81.3%, 73.2%, 0%, 22.4%)
CIE-LABlab(31.84, 46.18, -75.95)
CIE-LCHlch(31.84, 88.88, 301.30°)
OKLaboklab(43.16% -0.005 -0.2201)
OKLCHoklch(43.16% 0.22 268.7)
XYZxyz(12.2256, 7.0153, 54.1249)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535C6 #C6B625
analogous
#2585C6 #2535C6 #6525C6
triadic
#2535C6 #C62535 #35C625
tetradic
#2535C6 #C62585 #C6B625 #25C665
square
#2535C6 #C62585 #C6B625 #25C665
split-complementary
#2535C6 #C66525 #85C625
monochromatic
#12195F #1B2792 #2535C6 #4B59DD #7E89E7

Accessibility & contrast

On white

8.74
#2535C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2535C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535C6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535C6#FFFFFF#000000##FFFFFF
##2535C61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0043C3
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2535c6;
/* rgb */ color: rgb(37, 53, 198);
/* oklch */ color: oklch(43.2% 0.220 268.7);
Tailwind
colors: {
  custom: {
    50: '#7d6dd9',
    500: '#2535c6',
    950: '#000000',
  },
}
SCSS
$custom: #2535c6;
$custom-light: #7d6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2535c6",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 234.037,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43156,
    "c": 0.22013,
    "h": 268.7
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#2535C6
secondary
#CFC777
accent
#DA3CEB
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2535C6

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

Preview Lab → · Contrast checker → · Palette generator →

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