#2523AC#2523AC

#2523AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.206 H 271.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2523AC
RGBrgb(37, 35, 172)
HSLhsl(241, 66%, 41%)
HSVhsv(241, 80%, 67%)
CMYKcmyk(78.5%, 79.7%, 0%, 32.5%)
CIE-LABlab(25.48, 47.46, -71.05)
CIE-LCHlch(25.48, 85.44, 303.74°)
OKLaboklab(37.82% 0.0051 -0.2057)
OKLCHoklch(37.82% 0.206 271.4)
XYZxyz(8.8079, 4.5730, 39.4402)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523AC #AAAC23
analogous
#2365AC #2523AC #6923AC
triadic
#2523AC #AC2523 #23AC25
tetradic
#2523AC #AC2365 #AAAC23 #23AC69
square
#2523AC #AC2365 #AAAC23 #23AC69
split-complementary
#2523AC #AC6923 #65AC23
monochromatic
#0F0E46 #1A1979 #2523AC #3836D6 #6B69E0

Accessibility & contrast

On white

10.97
#2523AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2523AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2523AC
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2523AC#FFFFFF#000000##FFFFFF
##2523AC1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2523ac;
/* rgb */ color: rgb(37, 35, 172);
/* oklch */ color: oklch(37.8% 0.206 271.4);
Tailwind
colors: {
  custom: {
    50: '#7961c6',
    500: '#2523ac',
    950: '#000000',
  },
}
SCSS
$custom: #2523ac;
$custom-light: #7961c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2523ac",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 240.876,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37816,
    "c": 0.20573,
    "h": 271.4
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#2523AC
secondary
#C5C664
accent
#E93FE7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2523AC

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

Preview Lab → · Contrast checker → · Palette generator →

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