#2526B2#2526B2

#2526B2 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.210 H 270.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2526B2
RGBrgb(37, 38, 178)
HSLhsl(240, 66%, 42%)
HSVhsv(240, 79%, 70%)
CMYKcmyk(79.2%, 78.7%, 0%, 30.2%)
CIE-LABlab(26.71, 47.84, -72.60)
CIE-LCHlch(26.71, 86.95, 303.38°)
OKLaboklab(38.88% 0.003 -0.2102)
OKLCHoklch(38.88% 0.21 270.8)
XYZxyz(9.4892, 4.9928, 42.5744)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526B2 #B2B125
analogous
#256DB2 #2526B2 #6A25B2
triadic
#2526B2 #B22526 #26B225
tetradic
#2526B2 #B2256D #B2B125 #25B26A
square
#2526B2 #B2256D #B2B125 #25B26A
split-complementary
#2526B2 #B26A25 #6DB225
monochromatic
#10104D #1A1B7F #2526B2 #3D3FD7 #7071E1

Accessibility & contrast

On white

10.51
#2526B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2526B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526B2
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526B2#FFFFFF#000000##FFFFFF
##2526B21.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B6
Deuteranopia (green-blind)
#0038B0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2526b2;
/* rgb */ color: rgb(37, 38, 178);
/* oklch */ color: oklch(38.9% 0.210 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a63ca',
    500: '#2526b2',
    950: '#000000',
  },
}
SCSS
$custom: #2526b2;
$custom-light: #7a63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2526b2",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 239.574,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.38881,
    "c": 0.21025,
    "h": 270.8
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#2526B2
secondary
#C8C76B
accent
#E73FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2526B2

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

Preview Lab → · Contrast checker → · Palette generator →

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