#2526B1#2526B1

#2526B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.209 H 270.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2526B1
RGBrgb(37, 38, 177)
HSLhsl(240, 65%, 42%)
HSVhsv(240, 79%, 69%)
CMYKcmyk(79.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(26.60, 47.52, -72.20)
CIE-LCHlch(26.60, 86.43, 303.35°)
OKLaboklab(38.77% 0.0032 -0.209)
OKLCHoklch(38.77% 0.209 270.9)
XYZxyz(9.3892, 4.9528, 42.0476)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526B1 #B1B025
analogous
#256CB1 #2526B1 #6A25B1
triadic
#2526B1 #B12526 #26B125
tetradic
#2526B1 #B1256C #B1B025 #25B16A
square
#2526B1 #B1256C #B1B025 #25B16A
split-complementary
#2526B1 #B16A25 #6CB125
monochromatic
#10104C #1A1B7E #2526B1 #3D3ED6 #6F70E1

Accessibility & contrast

On white

10.55
#2526B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2526B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526B1
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526B1#FFFFFF#000000##FFFFFF
##2526B11.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2526b1;
/* rgb */ color: rgb(37, 38, 177);
/* oklch */ color: oklch(38.8% 0.209 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a63ca',
    500: '#2526b1',
    950: '#000000',
  },
}
SCSS
$custom: #2526b1;
$custom-light: #7a63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2526b1",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 239.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.20906,
    "h": 270.9
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#2526B1
secondary
#C8C76A
accent
#E73FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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