#2525AF#2525AF

#2525AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.208 H 271.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2525AF
RGBrgb(37, 37, 175)
HSLhsl(240, 65%, 42%)
HSVhsv(240, 79%, 69%)
CMYKcmyk(78.9%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.19, 47.39, -71.68)
CIE-LCHlch(26.19, 85.93, 303.47°)
OKLaboklab(38.41% 0.0039 -0.2075)
OKLCHoklch(38.41% 0.208 271.1)
XYZxyz(9.1598, 4.8106, 40.9949)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525AF #AFAF25
analogous
#256AAF #2525AF #6A25AF
triadic
#2525AF #AF2525 #25AF25
tetradic
#2525AF #AF256A #AFAF25 #25AF6A
square
#2525AF #AF256A #AFAF25 #25AF6A
split-complementary
#2525AF #AF6A25 #6AAF25
monochromatic
#10104A #1A1A7C #2525AF #3C3CD6 #6E6EE0

Accessibility & contrast

On white

10.70
#2525AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2525AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525AF
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525AF#FFFFFF#000000##FFFFFF
##2525AF1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2525af;
/* rgb */ color: rgb(37, 37, 175);
/* oklch */ color: oklch(38.4% 0.208 271.1);
Tailwind
colors: {
  custom: {
    50: '#7962c8',
    500: '#2525af',
    950: '#000000',
  },
}
SCSS
$custom: #2525af;
$custom-light: #7962c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2525af",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.20757,
    "h": 271.1
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#2525AF
secondary
#C7C769
accent
#E840E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2525AF

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

Preview Lab → · Contrast checker → · Palette generator →

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