#2535B1#2535B1

#2535B1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.194 H 269.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2535B1
RGBrgb(37, 53, 177)
HSLhsl(233, 65%, 42%)
HSVhsv(233, 79%, 69%)
CMYKcmyk(79.1%, 70.1%, 0%, 30.6%)
CIE-LABlab(29.70, 38.84, -67.08)
CIE-LCHlch(29.70, 77.51, 300.07°)
OKLaboklab(40.97% -0.0026 -0.1943)
OKLCHoklch(40.97% 0.194 269.2)
XYZxyz(9.9691, 6.1127, 42.2409)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2535B1 #B1A125
analogous
#257BB1 #2535B1 #5B25B1
triadic
#2535B1 #B12535 #35B125
tetradic
#2535B1 #B1257B #B1A125 #25B15B
square
#2535B1 #B1257B #B1A125 #25B15B
split-complementary
#2535B1 #B15B25 #7BB125
monochromatic
#10174C #1A267E #2535B1 #3D4ED6 #6F7CE1

Accessibility & contrast

On white

9.45
#2535B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2535B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2535B1
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2535B1#FFFFFF#000000##FFFFFF
##2535B11.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2535b1;
/* rgb */ color: rgb(37, 53, 177);
/* oklch */ color: oklch(41.0% 0.194 269.2);
Tailwind
colors: {
  custom: {
    50: '#786dc9',
    500: '#2535b1',
    950: '#000000',
  },
}
SCSS
$custom: #2535b1;
$custom-light: #786dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2535b1",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 233.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.1943,
    "h": 269.2
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#2535B1
secondary
#C8BD6A
accent
#D53FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2535B1

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

Preview Lab → · Contrast checker → · Palette generator →

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