#2535B0#2535B0

#2535B0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.193 H 269.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2535B0
RGBrgb(37, 53, 176)
HSLhsl(233, 65%, 42%)
HSVhsv(233, 79%, 69%)
CMYKcmyk(79%, 69.9%, 0%, 31%)
CIE-LABlab(29.60, 38.48, -66.65)
CIE-LCHlch(29.60, 76.96, 300.00°)
OKLaboklab(40.87% -0.0025 -0.193)
OKLCHoklch(40.87% 0.193 269.3)
XYZxyz(9.8698, 6.0730, 41.7179)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535B0 #B0A025
analogous
#257AB0 #2535B0 #5B25B0
triadic
#2535B0 #B02535 #35B025
tetradic
#2535B0 #B0257A #B0A025 #25B05B
square
#2535B0 #B0257A #B0A025 #25B05B
split-complementary
#2535B0 #B05B25 #7AB025
monochromatic
#10174B #1A267D #2535B0 #3C4ED6 #6F7CE1

Accessibility & contrast

On white

9.48
#2535B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2535B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535B0
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535B0#FFFFFF#000000##FFFFFF
##2535B01.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2535b0;
/* rgb */ color: rgb(37, 53, 176);
/* oklch */ color: oklch(40.9% 0.193 269.3);
Tailwind
colors: {
  custom: {
    50: '#786dc9',
    500: '#2535b0',
    950: '#000000',
  },
}
SCSS
$custom: #2535b0;
$custom-light: #786dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2535b0",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 233.094,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.19303,
    "h": 269.3
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#2535B0
secondary
#C7BC6A
accent
#D540E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2535B0

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

Preview Lab → · Contrast checker → · Palette generator →

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