#2523A0#2523A0

#2523A0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.191 H 272.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2523A0
RGBrgb(37, 35, 160)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 63%)
CMYKcmyk(76.9%, 78.1%, 0%, 37.3%)
CIE-LABlab(24.11, 43.55, -66.06)
CIE-LCHlch(24.11, 79.12, 303.39°)
OKLaboklab(36.45% 0.0076 -0.1912)
OKLCHoklch(36.45% 0.191 272.3)
XYZxyz(7.7070, 4.1326, 33.6424)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2523A0 #9EA023
analogous
#235FA0 #2523A0 #6323A0
triadic
#2523A0 #A02523 #23A025
tetradic
#2523A0 #A0235F #9EA023 #23A063
square
#2523A0 #A0235F #9EA023 #23A063
split-complementary
#2523A0 #A06323 #5FA023
monochromatic
#0E0D3C #19186E #2523A0 #312FD1 #6361DC

Accessibility & contrast

On white

11.50
#2523A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2523A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2523A0#FFFFFF#000000##FFFFFF
##2523A01.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2523a0;
/* rgb */ color: rgb(37, 35, 160);
/* oklch */ color: oklch(36.4% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#7660bd',
    500: '#2523a0',
    950: '#000000',
  },
}
SCSS
$custom: #2523a0;
$custom-light: #7660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2523a0",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 240.96,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.19136,
    "h": 272.3
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#2523A0
secondary
#C0C15D
accent
#E741E4
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2523A0

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

Preview Lab → · Contrast checker → · Palette generator →

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