#2526AC#2526AC

#2526AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.2% C 0.203 H 271.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2526AC
RGBrgb(37, 38, 172)
HSLhsl(240, 65%, 41%)
HSVhsv(240, 78%, 67%)
CMYKcmyk(78.5%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.03, 45.88, -70.14)
CIE-LCHlch(26.03, 83.81, 303.19°)
OKLaboklab(38.2% 0.0041 -0.2031)
OKLCHoklch(38.2% 0.203 271.2)
XYZxyz(8.8999, 4.7571, 39.4709)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526AC #ACAB25
analogous
#2569AC #2526AC #6825AC
triadic
#2526AC #AC2526 #26AC25
tetradic
#2526AC #AC2569 #ACAB25 #25AC68
square
#2526AC #AC2569 #ACAB25 #25AC68
split-complementary
#2526AC #AC6825 #69AC25
monochromatic
#0F1047 #1A1B7A #2526AC #3A3BD5 #6C6DDF

Accessibility & contrast

On white

10.76
#2526AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2526AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526AC
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526AC#FFFFFF#000000##FFFFFF
##2526AC1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2526ac;
/* rgb */ color: rgb(37, 38, 172);
/* oklch */ color: oklch(38.2% 0.203 271.2);
Tailwind
colors: {
  custom: {
    50: '#7863c6',
    500: '#2526ac',
    950: '#000000',
  },
}
SCSS
$custom: #2526ac;
$custom-light: #7863c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2526ac",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 239.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.20311,
    "h": 271.2
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#2526AC
secondary
#C6C567
accent
#E640E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2526AC

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

Preview Lab → · Contrast checker → · Palette generator →

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