#2535B2#2535B2

#2535B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.196 H 269.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2535B2
RGBrgb(37, 53, 178)
HSLhsl(233, 66%, 42%)
HSVhsv(233, 79%, 70%)
CMYKcmyk(79.2%, 70.2%, 0%, 30.2%)
CIE-LABlab(29.79, 39.20, -67.51)
CIE-LCHlch(29.79, 78.07, 300.14°)
OKLaboklab(41.08% -0.0027 -0.1955)
OKLCHoklch(41.08% 0.196 269.2)
XYZxyz(10.0692, 6.1527, 42.7678)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535B2 #B2A225
analogous
#257CB2 #2535B2 #5B25B2
triadic
#2535B2 #B22535 #35B225
tetradic
#2535B2 #B2257C #B2A225 #25B25B
square
#2535B2 #B2257C #B2A225 #25B25B
split-complementary
#2535B2 #B25B25 #7CB225
monochromatic
#10174D #1A267F #2535B2 #3D4FD7 #707DE1

Accessibility & contrast

On white

9.41
#2535B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2535B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535B2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535B2#FFFFFF#000000##FFFFFF
##2535B21.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2535b2;
/* rgb */ color: rgb(37, 53, 178);
/* oklch */ color: oklch(41.1% 0.196 269.2);
Tailwind
colors: {
  custom: {
    50: '#786dca',
    500: '#2535b2',
    950: '#000000',
  },
}
SCSS
$custom: #2535b2;
$custom-light: #786dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2535b2",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 233.191,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.19556,
    "h": 269.2
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#2535B2
secondary
#C8BD6B
accent
#D53FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2535B2

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

Preview Lab → · Contrast checker → · Palette generator →

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