#2526AF#2526AF

#2526AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.207 H 271.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2526AF
RGBrgb(37, 38, 175)
HSLhsl(240, 65%, 42%)
HSVhsv(240, 79%, 69%)
CMYKcmyk(78.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.37, 46.86, -71.37)
CIE-LCHlch(26.37, 85.38, 303.29°)
OKLaboklab(38.54% 0.0035 -0.2067)
OKLCHoklch(38.54% 0.207 271)
XYZxyz(9.1913, 4.8737, 41.0054)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526AF #AFAE25
analogous
#256BAF #2526AF #6925AF
triadic
#2526AF #AF2526 #26AF25
tetradic
#2526AF #AF256B #AFAE25 #25AF69
square
#2526AF #AF256B #AFAE25 #25AF69
split-complementary
#2526AF #AF6925 #6BAF25
monochromatic
#10104A #1A1B7C #2526AF #3C3DD6 #6E6FE0

Accessibility & contrast

On white

10.63
#2526AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2526AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526AF
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526AF#FFFFFF#000000##FFFFFF
##2526AF1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2526af;
/* rgb */ color: rgb(37, 38, 175);
/* oklch */ color: oklch(38.5% 0.207 271.0);
Tailwind
colors: {
  custom: {
    50: '#7963c8',
    500: '#2526af',
    950: '#000000',
  },
}
SCSS
$custom: #2526af;
$custom-light: #7963c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2526af",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 239.565,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.20669,
    "h": 271
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#2526AF
secondary
#C7C669
accent
#E740E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2526AF

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

Preview Lab → · Contrast checker → · Palette generator →

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