#2529B1#2529B1

#2529B1 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.206 H 270.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2529B1
RGBrgb(37, 41, 177)
HSLhsl(238, 65%, 42%)
HSVhsv(238, 79%, 69%)
CMYKcmyk(79.1%, 76.8%, 0%, 30.6%)
CIE-LABlab(27.16, 45.90, -71.26)
CIE-LCHlch(27.16, 84.76, 302.78°)
OKLaboklab(39.17% 0.0022 -0.2064)
OKLCHoklch(39.17% 0.206 270.6)
XYZxyz(9.4890, 5.1524, 42.0809)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529B1 #B1AD25
analogous
#256FB1 #2529B1 #6725B1
triadic
#2529B1 #B12529 #29B125
tetradic
#2529B1 #B1256F #B1AD25 #25B167
square
#2529B1 #B1256F #B1AD25 #25B167
split-complementary
#2529B1 #B16725 #6FB125
monochromatic
#10124C #1A1D7E #2529B1 #3D41D6 #6F73E1

Accessibility & contrast

On white

10.34
#2529B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2529B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2529B1
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529B1#FFFFFF#000000##FFFFFF
##2529B11.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2529b1;
/* rgb */ color: rgb(37, 41, 177);
/* oklch */ color: oklch(39.2% 0.206 270.6);
Tailwind
colors: {
  custom: {
    50: '#7965ca',
    500: '#2529b1',
    950: '#000000',
  },
}
SCSS
$custom: #2529b1;
$custom-light: #7965ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2529b1",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 238.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.20638,
    "h": 270.6
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#2529B1
secondary
#C8C56A
accent
#E43FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2529B1

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

Preview Lab → · Contrast checker → · Palette generator →

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