#2523C1#2523C1

#2523C1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.3% C 0.230 H 270.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2523C1
RGBrgb(37, 35, 193)
HSLhsl(241, 69%, 45%)
HSVhsv(241, 82%, 76%)
CMYKcmyk(80.8%, 81.9%, 0%, 24.3%)
CIE-LABlab(27.97, 54.06, -79.43)
CIE-LCHlch(27.97, 96.08, 304.24°)
OKLaboklab(40.26% 0.0006 -0.2299)
OKLCHoklch(40.26% 0.23 270.2)
XYZxyz(10.9864, 5.4444, 50.9136)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523C1 #BFC123
analogous
#2370C1 #2523C1 #7423C1
triadic
#2523C1 #C12523 #23C125
tetradic
#2523C1 #C12370 #BFC123 #23C174
square
#2523C1 #C12370 #BFC123 #23C174
split-complementary
#2523C1 #C17423 #70C123
monochromatic
#111059 #1B1A8D #2523C1 #4644DD #7978E6

Accessibility & contrast

On white

10.05
#2523C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2523C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2523C1
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2523C1#FFFFFF#000000##FFFFFF
##2523C11.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2523c1;
/* rgb */ color: rgb(37, 35, 193);
/* oklch */ color: oklch(40.3% 0.230 270.2);
Tailwind
colors: {
  custom: {
    50: '#7e62d5',
    500: '#2523c1',
    950: '#000000',
  },
}
SCSS
$custom: #2523c1;
$custom-light: #7e62d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2523c1",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 240.759,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.22995,
    "h": 270.2
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#2523C1
secondary
#CDCE72
accent
#EC3CEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2523C1

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

Preview Lab → · Contrast checker → · Palette generator →

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