#2526A2#2526A2

#2526A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.191 H 271.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2526A2
RGBrgb(37, 38, 162)
HSLhsl(240, 63%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(77.2%, 76.5%, 0%, 36.5%)
CIE-LABlab(24.91, 42.55, -65.94)
CIE-LCHlch(24.91, 78.48, 302.83°)
OKLaboklab(37.09% 0.0061 -0.1909)
OKLCHoklch(37.09% 0.191 271.8)
XYZxyz(7.9754, 4.3873, 34.6019)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526A2 #A2A125
analogous
#2565A2 #2526A2 #6325A2
triadic
#2526A2 #A22526 #26A225
tetradic
#2526A2 #A22565 #A2A125 #25A263
square
#2526A2 #A22565 #A2A125 #25A263
split-complementary
#2526A2 #A26325 #65A225
monochromatic
#0E0F3E #1A1A70 #2526A2 #3435D1 #6566DC

Accessibility & contrast

On white

11.18
#2526A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2526A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526A2
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526A2#FFFFFF#000000##FFFFFF
##2526A21.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2526a2;
/* rgb */ color: rgb(37, 38, 162);
/* oklch */ color: oklch(37.1% 0.191 271.8);
Tailwind
colors: {
  custom: {
    50: '#7662bf',
    500: '#2526a2',
    950: '#000000',
  },
}
SCSS
$custom: #2526a2;
$custom-light: #7662bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2526a2",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 239.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37085,
    "c": 0.191,
    "h": 271.8
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#2526A2
secondary
#C2C161
accent
#E542E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2526A2

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

Preview Lab → · Contrast checker → · Palette generator →

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