#2523A4#2523A4

#2523A4 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.196 H 272.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2523A4
RGBrgb(37, 35, 164)
HSLhsl(241, 65%, 39%)
HSVhsv(241, 79%, 64%)
CMYKcmyk(77.4%, 78.7%, 0%, 35.7%)
CIE-LABlab(24.56, 44.87, -67.74)
CIE-LCHlch(24.56, 81.25, 303.52°)
OKLaboklab(36.9% 0.0068 -0.1961)
OKLCHoklch(36.9% 0.196 272)
XYZxyz(8.0626, 4.2748, 35.5150)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523A4 #A2A423
analogous
#2362A4 #2523A4 #6623A4
triadic
#2523A4 #A42523 #23A425
tetradic
#2523A4 #A42362 #A2A423 #23A466
square
#2523A4 #A42362 #A2A423 #23A466
split-complementary
#2523A4 #A46623 #62A423
monochromatic
#0E0D3F #1A1872 #2523A4 #3431D3 #6564DE

Accessibility & contrast

On white

11.32
#2523A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2523A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2523A4#FFFFFF#000000##FFFFFF
##2523A41.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0034A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2523a4;
/* rgb */ color: rgb(37, 35, 164);
/* oklch */ color: oklch(36.9% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#7761c0',
    500: '#2523a4',
    950: '#000000',
  },
}
SCSS
$custom: #2523a4;
$custom-light: #7761c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2523a4",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 240.93,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36902,
    "c": 0.1962,
    "h": 272
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#2523A4
secondary
#C2C360
accent
#E840E5
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2523A4

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

Preview Lab → · Contrast checker → · Palette generator →

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