#2535A8#2535A8

#2535A8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.183 H 269.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2535A8
RGBrgb(37, 53, 168)
HSLhsl(233, 64%, 40%)
HSVhsv(233, 78%, 66%)
CMYKcmyk(78%, 68.5%, 0%, 34.1%)
CIE-LABlab(28.81, 35.59, -63.14)
CIE-LCHlch(28.81, 72.48, 299.41°)
OKLaboklab(40.07% -0.0018 -0.1828)
OKLCHoklch(40.07% 0.183 269.4)
XYZxyz(9.1015, 5.7657, 37.6714)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535A8 #A89825
analogous
#2576A8 #2535A8 #5725A8
triadic
#2535A8 #A82535 #35A825
tetradic
#2535A8 #A82576 #A89825 #25A857
square
#2535A8 #A82576 #A89825 #25A857
split-complementary
#2535A8 #A85725 #76A825
monochromatic
#0F1544 #1A2576 #2535A8 #374AD3 #6978DE

Accessibility & contrast

On white

9.75
#2535A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2535A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535A8
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535A8#FFFFFF#000000##FFFFFF
##2535A81.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2535a8;
/* rgb */ color: rgb(37, 53, 168);
/* oklch */ color: oklch(40.1% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#766cc3',
    500: '#2535a8',
    950: '#000000',
  },
}
SCSS
$custom: #2535a8;
$custom-light: #766cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2535a8",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 232.672,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.18279,
    "h": 269.4
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#2535A8
secondary
#C4B865
accent
#D341E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2535A8

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

Preview Lab → · Contrast checker → · Palette generator →

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