#2535AE#2535AE

#2535AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.190 H 269.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2535AE
RGBrgb(37, 53, 174)
HSLhsl(233, 65%, 41%)
HSVhsv(233, 79%, 68%)
CMYKcmyk(78.7%, 69.5%, 0%, 31.8%)
CIE-LABlab(29.40, 37.76, -65.78)
CIE-LCHlch(29.40, 75.85, 299.86°)
OKLaboklab(40.67% -0.0023 -0.1905)
OKLCHoklch(40.67% 0.19 269.3)
XYZxyz(9.6734, 5.9944, 40.6834)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535AE #AE9E25
analogous
#257AAE #2535AE #5A25AE
triadic
#2535AE #AE2535 #35AE25
tetradic
#2535AE #AE257A #AE9E25 #25AE5A
square
#2535AE #AE257A #AE9E25 #25AE5A
split-complementary
#2535AE #AE5A25 #7AAE25
monochromatic
#101649 #1A267C #2535AE #3B4DD5 #6D7BE0

Accessibility & contrast

On white

9.55
#2535AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2535AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535AE
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535AE#FFFFFF#000000##FFFFFF
##2535AE1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2535ae;
/* rgb */ color: rgb(37, 53, 174);
/* oklch */ color: oklch(40.7% 0.190 269.3);
Tailwind
colors: {
  custom: {
    50: '#776cc7',
    500: '#2535ae',
    950: '#000000',
  },
}
SCSS
$custom: #2535ae;
$custom-light: #776cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2535ae",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 232.993,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.19049,
    "h": 269.3
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#2535AE
secondary
#C6BB68
accent
#D440E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2535AE

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

Preview Lab → · Contrast checker → · Palette generator →

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