#2527AF#2527AF

#2527AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.206 H 270.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2527AF
RGBrgb(37, 39, 175)
HSLhsl(239, 65%, 42%)
HSVhsv(239, 79%, 69%)
CMYKcmyk(78.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(26.56, 46.33, -71.07)
CIE-LCHlch(26.56, 84.83, 303.10°)
OKLaboklab(38.67% 0.0032 -0.2058)
OKLCHoklch(38.67% 0.206 270.9)
XYZxyz(9.2237, 4.9385, 41.0162)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527AF #AFAD25
analogous
#256CAF #2527AF #6825AF
triadic
#2527AF #AF2527 #27AF25
tetradic
#2527AF #AF256C #AFAD25 #25AF68
square
#2527AF #AF256C #AFAD25 #25AF68
split-complementary
#2527AF #AF6825 #6CAF25
monochromatic
#10104A #1A1C7C #2527AF #3C3ED6 #6E70E0

Accessibility & contrast

On white

10.56
#2527AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2527AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527AF
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527AF#FFFFFF#000000##FFFFFF
##2527AF1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2527af;
/* rgb */ color: rgb(37, 39, 175);
/* oklch */ color: oklch(38.7% 0.206 270.9);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2527af',
    950: '#000000',
  },
}
SCSS
$custom: #2527af;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2527af",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 239.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.20581,
    "h": 270.9
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#2527AF
secondary
#C7C669
accent
#E640E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2527AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2527AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva