#2523A8#2523A8

#2523A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.201 H 271.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2523A8
RGBrgb(37, 35, 168)
HSLhsl(241, 66%, 40%)
HSVhsv(241, 79%, 66%)
CMYKcmyk(78%, 79.2%, 0%, 34.1%)
CIE-LABlab(25.02, 46.17, -69.40)
CIE-LCHlch(25.02, 83.36, 303.63°)
OKLaboklab(37.36% 0.0059 -0.2009)
OKLCHoklch(37.36% 0.201 271.7)
XYZxyz(8.4295, 4.4216, 37.4474)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523A8 #A6A823
analogous
#2364A8 #2523A8 #6723A8
triadic
#2523A8 #A82523 #23A825
tetradic
#2523A8 #A82364 #A6A823 #23A867
square
#2523A8 #A82364 #A6A823 #23A867
split-complementary
#2523A8 #A86723 #64A823
monochromatic
#0F0E43 #1A1875 #2523A8 #3634D5 #6866DF

Accessibility & contrast

On white

11.14
#2523A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2523A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2523A8#FFFFFF#000000##FFFFFF
##2523A81.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2523a8;
/* rgb */ color: rgb(37, 35, 168);
/* oklch */ color: oklch(37.4% 0.201 271.7);
Tailwind
colors: {
  custom: {
    50: '#7861c3',
    500: '#2523a8',
    950: '#000000',
  },
}
SCSS
$custom: #2523a8;
$custom-light: #7861c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2523a8",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 240.902,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.20099,
    "h": 271.7
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#2523A8
secondary
#C3C562
accent
#E83FE6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2523A8

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

Preview Lab → · Contrast checker → · Palette generator →

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