#2525A8#2525A8

#2525A8 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.199 H 271.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2525A8
RGBrgb(37, 37, 168)
HSLhsl(240, 64%, 40%)
HSVhsv(240, 78%, 66%)
CMYKcmyk(78%, 78%, 0%, 34.1%)
CIE-LABlab(25.39, 45.10, -68.79)
CIE-LCHlch(25.39, 82.26, 303.25°)
OKLaboklab(37.62% 0.0053 -0.1991)
OKLCHoklch(37.62% 0.199 271.5)
XYZxyz(8.4900, 4.5427, 37.4676)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A8 #A8A825
analogous
#2566A8 #2525A8 #6625A8
triadic
#2525A8 #A82525 #25A825
tetradic
#2525A8 #A82566 #A8A825 #25A866
square
#2525A8 #A82566 #A8A825 #25A866
split-complementary
#2525A8 #A86625 #66A825
monochromatic
#0F0F44 #1A1A76 #2525A8 #3737D3 #6969DE

Accessibility & contrast

On white

11.00
#2525A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2525A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A8
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A8#FFFFFF#000000##FFFFFF
##2525A81.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2525a8;
/* rgb */ color: rgb(37, 37, 168);
/* oklch */ color: oklch(37.6% 0.199 271.5);
Tailwind
colors: {
  custom: {
    50: '#7762c3',
    500: '#2525a8',
    950: '#000000',
  },
}
SCSS
$custom: #2525a8;
$custom-light: #7762c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a8",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 240,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.19922,
    "h": 271.5
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2525A8

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

Preview Lab → · Contrast checker → · Palette generator →

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