#2528AA#2528AA

#2528AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.199 H 271.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2528AA
RGBrgb(37, 40, 170)
HSLhsl(239, 64%, 41%)
HSVhsv(239, 78%, 67%)
CMYKcmyk(78.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.19, 44.12, -68.67)
CIE-LCHlch(26.19, 81.62, 302.72°)
OKLaboklab(38.25% 0.0038 -0.1988)
OKLCHoklch(38.25% 0.199 271.1)
XYZxyz(8.7750, 4.8122, 38.4888)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528AA #AAA725
analogous
#256AAA #2528AA #6525AA
triadic
#2528AA #AA2528 #28AA25
tetradic
#2528AA #AA256A #AAA725 #25AA65
square
#2528AA #AA256A #AAA725 #25AA65
split-complementary
#2528AA #AA6525 #6AAA25
monochromatic
#0F1045 #1A1C78 #2528AA #383CD4 #6B6DDF

Accessibility & contrast

On white

10.70
#2528AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2528AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528AA
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528AA#FFFFFF#000000##FFFFFF
##2528AA1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2528aa;
/* rgb */ color: rgb(37, 40, 170);
/* oklch */ color: oklch(38.3% 0.199 271.1);
Tailwind
colors: {
  custom: {
    50: '#7864c5',
    500: '#2528aa',
    950: '#000000',
  },
}
SCSS
$custom: #2528aa;
$custom-light: #7864c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2528aa",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 238.647,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3825,
    "c": 0.19887,
    "h": 271.1
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#2528AA
secondary
#C5C366
accent
#E341E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2528AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2528AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva