#2529A2#2529A2

#2529A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.188 H 271.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2529A2
RGBrgb(37, 41, 162)
HSLhsl(238, 63%, 39%)
HSVhsv(238, 77%, 64%)
CMYKcmyk(77.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(25.52, 40.82, -64.93)
CIE-LCHlch(25.52, 76.70, 302.16°)
OKLaboklab(37.52% 0.0048 -0.188)
OKLCHoklch(37.52% 0.188 271.5)
XYZxyz(8.0753, 4.5870, 34.6352)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529A2 #A29E25
analogous
#2568A2 #2529A2 #6025A2
triadic
#2529A2 #A22529 #29A225
tetradic
#2529A2 #A22568 #A29E25 #25A260
square
#2529A2 #A22568 #A29E25 #25A260
split-complementary
#2529A2 #A26025 #68A225
monochromatic
#0E103E #1A1C70 #2529A2 #3439D1 #6569DC

Accessibility & contrast

On white

10.95
#2529A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2529A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2529A2
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529A2#FFFFFF#000000##FFFFFF
##2529A21.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2529a2;
/* rgb */ color: rgb(37, 41, 162);
/* oklch */ color: oklch(37.5% 0.188 271.5);
Tailwind
colors: {
  custom: {
    50: '#7564bf',
    500: '#2529a2',
    950: '#000000',
  },
}
SCSS
$custom: #2529a2;
$custom-light: #7564bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2529a2",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 238.08,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.18805,
    "h": 271.5
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#2529A2
secondary
#C2BF61
accent
#E142E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2529A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2529A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva