#2529AF#2529AF

#2529AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 38.9% C 0.204 H 270.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2529AF
RGBrgb(37, 41, 175)
HSLhsl(238, 65%, 42%)
HSVhsv(238, 79%, 69%)
CMYKcmyk(78.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(26.94, 45.23, -70.43)
CIE-LCHlch(26.94, 83.70, 302.71°)
OKLaboklab(38.94% 0.0025 -0.204)
OKLCHoklch(38.94% 0.204 270.7)
XYZxyz(9.2911, 5.0733, 41.0387)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529AF #AFAB25
analogous
#256EAF #2529AF #6625AF
triadic
#2529AF #AF2529 #29AF25
tetradic
#2529AF #AF256E #AFAB25 #25AF66
square
#2529AF #AF256E #AFAB25 #25AF66
split-complementary
#2529AF #AF6625 #6EAF25
monochromatic
#10114A #1A1D7C #2529AF #3C40D6 #6E71E0

Accessibility & contrast

On white

10.42
#2529AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2529AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2529AF
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529AF#FFFFFF#000000##FFFFFF
##2529AF1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2529af;
/* rgb */ color: rgb(37, 41, 175);
/* oklch */ color: oklch(38.9% 0.204 270.7);
Tailwind
colors: {
  custom: {
    50: '#7965c8',
    500: '#2529af',
    950: '#000000',
  },
}
SCSS
$custom: #2529af;
$custom-light: #7965c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2529af",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 238.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.20398,
    "h": 270.7
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#2529AF
secondary
#C7C469
accent
#E340E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2529AF

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

Preview Lab → · Contrast checker → · Palette generator →

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