#2529A8#2529A8

#2529A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.195 H 271.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2529A8
RGBrgb(37, 41, 168)
HSLhsl(238, 64%, 40%)
HSVhsv(238, 78%, 66%)
CMYKcmyk(78%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.17, 42.88, -67.49)
CIE-LCHlch(26.17, 79.96, 302.43°)
OKLaboklab(38.17% 0.0038 -0.1954)
OKLCHoklch(38.17% 0.195 271.1)
XYZxyz(8.6214, 4.8054, 37.5114)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529A8 #A8A425
analogous
#256AA8 #2529A8 #6225A8
triadic
#2529A8 #A82529 #29A825
tetradic
#2529A8 #A8256A #A8A425 #25A862
square
#2529A8 #A8256A #A8A425 #25A862
split-complementary
#2529A8 #A86225 #6AA825
monochromatic
#0F1144 #1A1D76 #2529A8 #373CD3 #696DDE

Accessibility & contrast

On white

10.71
#2529A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2529A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2529A8
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529A8#FFFFFF#000000##FFFFFF
##2529A81.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2529a8;
/* rgb */ color: rgb(37, 41, 168);
/* oklch */ color: oklch(38.2% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#7764c3',
    500: '#2529a8',
    950: '#000000',
  },
}
SCSS
$custom: #2529a8;
$custom-light: #7764c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2529a8",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 238.168,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.19547,
    "h": 271.1
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#2529A8
secondary
#C4C165
accent
#E241E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2529A8

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

Preview Lab → · Contrast checker → · Palette generator →

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