#2529A7#2529A7

#2529A7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.194 H 271.2°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2529A7
RGBrgb(37, 41, 167)
HSLhsl(238, 64%, 40%)
HSVhsv(238, 78%, 65%)
CMYKcmyk(77.8%, 75.4%, 0%, 34.5%)
CIE-LABlab(26.06, 42.54, -67.07)
CIE-LCHlch(26.06, 79.42, 302.38°)
OKLaboklab(38.06% 0.0039 -0.1942)
OKLCHoklch(38.06% 0.194 271.2)
XYZxyz(8.5286, 4.7683, 37.0226)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529A7 #A7A325
analogous
#256AA7 #2529A7 #6225A7
triadic
#2529A7 #A72529 #29A725
tetradic
#2529A7 #A7256A #A7A325 #25A762
square
#2529A7 #A7256A #A7A325 #25A762
split-complementary
#2529A7 #A76225 #6AA725
monochromatic
#0F1043 #1A1D75 #2529A7 #373BD3 #696CDE

Accessibility & contrast

On white

10.75
#2529A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2529A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2529A7
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529A7#FFFFFF#000000##FFFFFF
##2529A71.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2529a7;
/* rgb */ color: rgb(37, 41, 167);
/* oklch */ color: oklch(38.1% 0.194 271.2);
Tailwind
colors: {
  custom: {
    50: '#7764c2',
    500: '#2529a7',
    950: '#000000',
  },
}
SCSS
$custom: #2529a7;
$custom-light: #7764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2529a7",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 238.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.19424,
    "h": 271.2
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#2529A7
secondary
#C4C164
accent
#E241E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2529A7

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

Preview Lab → · Contrast checker → · Palette generator →

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