#2525A6#2525A6

#2525A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.197 H 271.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2525A6
RGBrgb(37, 37, 166)
HSLhsl(240, 64%, 40%)
HSVhsv(240, 78%, 65%)
CMYKcmyk(77.7%, 77.7%, 0%, 34.9%)
CIE-LABlab(25.16, 44.44, -67.95)
CIE-LCHlch(25.16, 81.20, 303.19°)
OKLaboklab(37.39% 0.0056 -0.1967)
OKLCHoklch(37.39% 0.197 271.6)
XYZxyz(8.3051, 4.4687, 36.4938)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A6 #A6A625
analogous
#2566A6 #2525A6 #6625A6
triadic
#2525A6 #A62525 #25A625
tetradic
#2525A6 #A62566 #A6A625 #25A666
square
#2525A6 #A62566 #A6A625 #25A666
split-complementary
#2525A6 #A66625 #66A625
monochromatic
#0F0F42 #1A1A74 #2525A6 #3636D2 #6868DD

Accessibility & contrast

On white

11.09
#2525A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2525A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A6
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A6#FFFFFF#000000##FFFFFF
##2525A61.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2525a6;
/* rgb */ color: rgb(37, 37, 166);
/* oklch */ color: oklch(37.4% 0.197 271.6);
Tailwind
colors: {
  custom: {
    50: '#7762c2',
    500: '#2525a6',
    950: '#000000',
  },
}
SCSS
$custom: #2525a6;
$custom-light: #7762c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a6",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.1968,
    "h": 271.6
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#2525A6
secondary
#C3C364
accent
#E741E7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2525A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2525A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva