#2523B2#2523B2

#2523B2 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.213 H 271.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2523B2
RGBrgb(37, 35, 178)
HSLhsl(241, 67%, 42%)
HSVhsv(241, 80%, 70%)
CMYKcmyk(79.2%, 80.3%, 0%, 30.2%)
CIE-LABlab(26.18, 49.38, -73.49)
CIE-LCHlch(26.18, 88.53, 303.90°)
OKLaboklab(38.51% 0.0038 -0.2127)
OKLCHoklch(38.51% 0.213 271)
XYZxyz(9.3971, 4.8087, 42.5438)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523B2 #B0B223
analogous
#2369B2 #2523B2 #6D23B2
triadic
#2523B2 #B22523 #23B225
tetradic
#2523B2 #B22369 #B0B223 #23B26D
square
#2523B2 #B22369 #B0B223 #23B26D
split-complementary
#2523B2 #B26D23 #69B223
monochromatic
#100F4C #1A197F #2523B2 #3C3AD8 #6F6DE2

Accessibility & contrast

On white

10.70
#2523B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2523B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2523B2
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2523B2#FFFFFF#000000##FFFFFF
##2523B21.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2523b2;
/* rgb */ color: rgb(37, 35, 178);
/* oklch */ color: oklch(38.5% 0.213 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a61ca',
    500: '#2523b2',
    950: '#000000',
  },
}
SCSS
$custom: #2523b2;
$custom-light: #7a61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2523b2",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 240.839,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.21277,
    "h": 271
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#2523B2
secondary
#C7C968
accent
#EA3EE8
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2523B2

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

Preview Lab → · Contrast checker → · Palette generator →

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