#2529A6#2529A6

#2529A6 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.193 H 271.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2529A6
RGBrgb(37, 41, 166)
HSLhsl(238, 64%, 40%)
HSVhsv(238, 78%, 65%)
CMYKcmyk(77.7%, 75.3%, 0%, 34.9%)
CIE-LABlab(25.96, 42.20, -66.64)
CIE-LCHlch(25.96, 78.88, 302.34°)
OKLaboklab(37.95% 0.0041 -0.193)
OKLCHoklch(37.95% 0.193 271.2)
XYZxyz(8.4365, 4.7314, 36.5376)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529A6 #A6A225
analogous
#2569A6 #2529A6 #6225A6
triadic
#2529A6 #A62529 #29A625
tetradic
#2529A6 #A62569 #A6A225 #25A662
square
#2529A6 #A62569 #A6A225 #25A662
split-complementary
#2529A6 #A66225 #69A625
monochromatic
#0F1042 #1A1D74 #2529A6 #363BD2 #686CDD

Accessibility & contrast

On white

10.79
#2529A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2529A6
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529A6#FFFFFF#000000##FFFFFF
##2529A61.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2529a6;
/* rgb */ color: rgb(37, 41, 166);
/* oklch */ color: oklch(38.0% 0.193 271.2);
Tailwind
colors: {
  custom: {
    50: '#7664c2',
    500: '#2529a6',
    950: '#000000',
  },
}
SCSS
$custom: #2529a6;
$custom-light: #7664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2529a6",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 238.14,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.193,
    "h": 271.2
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#2529A6
secondary
#C3C064
accent
#E141E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2529A6

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

Preview Lab → · Contrast checker → · Palette generator →

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