#2523AA#2523AA

#2523AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.203 H 271.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2523AA
RGBrgb(37, 35, 170)
HSLhsl(241, 66%, 40%)
HSVhsv(241, 79%, 67%)
CMYKcmyk(78.2%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.25, 46.82, -70.23)
CIE-LCHlch(25.25, 84.40, 303.69°)
OKLaboklab(37.59% 0.0055 -0.2033)
OKLCHoklch(37.59% 0.203 271.6)
XYZxyz(8.6172, 4.4967, 38.4362)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523AA #A8AA23
analogous
#2364AA #2523AA #6923AA
triadic
#2523AA #AA2523 #23AA25
tetradic
#2523AA #AA2364 #A8AA23 #23AA69
square
#2523AA #AA2364 #A8AA23 #23AA69
split-complementary
#2523AA #AA6923 #64AA23
monochromatic
#0F0E44 #1A1977 #2523AA #3735D5 #6968E0

Accessibility & contrast

On white

11.05
#2523AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2523AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2523AA#FFFFFF#000000##FFFFFF
##2523AA1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2523aa;
/* rgb */ color: rgb(37, 35, 170);
/* oklch */ color: oklch(37.6% 0.203 271.6);
Tailwind
colors: {
  custom: {
    50: '#7861c5',
    500: '#2523aa',
    950: '#000000',
  },
}
SCSS
$custom: #2523aa;
$custom-light: #7861c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2523aa",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 240.889,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.20336,
    "h": 271.6
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#2523AA
secondary
#C4C663
accent
#E93FE6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2523AA

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

Preview Lab → · Contrast checker → · Palette generator →

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