#2529B2#2529B2

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

Color values

HEX#2529B2
RGBrgb(37, 41, 178)
HSLhsl(238, 66%, 42%)
HSVhsv(238, 79%, 70%)
CMYKcmyk(79.2%, 77%, 0%, 30.2%)
CIE-LABlab(27.28, 46.23, -71.67)
CIE-LCHlch(27.28, 85.29, 302.82°)
OKLaboklab(39.28% 0.002 -0.2076)
OKLCHoklch(39.28% 0.208 270.6)
XYZxyz(9.5890, 5.1925, 42.6077)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2529B2 #B2AE25
analogous
#2570B2 #2529B2 #6825B2
triadic
#2529B2 #B22529 #29B225
tetradic
#2529B2 #B22570 #B2AE25 #25B268
square
#2529B2 #B22570 #B2AE25 #25B268
split-complementary
#2529B2 #B26825 #70B225
monochromatic
#10124D #1A1D7F #2529B2 #3D42D7 #7073E1

Accessibility & contrast

On white

10.30
#2529B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2529B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2529B2
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2529B2#FFFFFF#000000##FFFFFF
##2529B21.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2529b2;
/* rgb */ color: rgb(37, 41, 178);
/* oklch */ color: oklch(39.3% 0.208 270.6);
Tailwind
colors: {
  custom: {
    50: '#7965ca',
    500: '#2529b2',
    950: '#000000',
  },
}
SCSS
$custom: #2529b2;
$custom-light: #7965ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2529b2",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 238.298,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.20758,
    "h": 270.6
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#2529B2
secondary
#C8C56B
accent
#E43FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2529B2

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

Preview Lab → · Contrast checker → · Palette generator →

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