#2526A0#2526A0

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

Color values

HEX#2526A0
RGBrgb(37, 38, 160)
HSLhsl(240, 62%, 39%)
HSVhsv(240, 77%, 63%)
CMYKcmyk(76.9%, 76.3%, 0%, 37.3%)
CIE-LABlab(24.69, 41.88, -65.09)
CIE-LCHlch(24.69, 77.40, 302.75°)
OKLaboklab(36.86% 0.0064 -0.1884)
OKLCHoklch(36.86% 0.189 272)
XYZxyz(7.7991, 4.3168, 33.6731)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526A0 #A09F25
analogous
#2563A0 #2526A0 #6125A0
triadic
#2526A0 #A02526 #26A025
tetradic
#2526A0 #A02563 #A09F25 #25A061
square
#2526A0 #A02563 #A09F25 #25A061
split-complementary
#2526A0 #A06125 #63A025
monochromatic
#0E0E3D #1A1A6E #2526A0 #3234D0 #6465DB

Accessibility & contrast

On white

11.27
#2526A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2526A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526A0
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526A0#FFFFFF#000000##FFFFFF
##2526A01.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2526a0;
/* rgb */ color: rgb(37, 38, 160);
/* oklch */ color: oklch(36.9% 0.189 272.0);
Tailwind
colors: {
  custom: {
    50: '#7562bd',
    500: '#2526a0',
    950: '#000000',
  },
}
SCSS
$custom: #2526a0;
$custom-light: #7562bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2526a0",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 239.512,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36864,
    "c": 0.18853,
    "h": 272
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#2526A0
secondary
#C1C060
accent
#E442E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2526A0

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

Preview Lab → · Contrast checker → · Palette generator →

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