#2527A8#2527A8

#2527A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.197 H 271.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2527A8
RGBrgb(37, 39, 168)
HSLhsl(239, 64%, 40%)
HSVhsv(239, 78%, 66%)
CMYKcmyk(78%, 76.8%, 0%, 34.1%)
CIE-LABlab(25.77, 44.00, -68.15)
CIE-LCHlch(25.77, 81.12, 302.85°)
OKLaboklab(37.89% 0.0045 -0.1973)
OKLCHoklch(37.89% 0.197 271.3)
XYZxyz(8.5540, 4.6706, 37.4889)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527A8 #A8A625
analogous
#2568A8 #2527A8 #6425A8
triadic
#2527A8 #A82527 #27A825
tetradic
#2527A8 #A82568 #A8A625 #25A864
square
#2527A8 #A82568 #A8A625 #25A864
split-complementary
#2527A8 #A86425 #68A825
monochromatic
#0F1044 #1A1B76 #2527A8 #373AD3 #696BDE

Accessibility & contrast

On white

10.86
#2527A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2527A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527A8
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527A8#FFFFFF#000000##FFFFFF
##2527A81.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2527a8;
/* rgb */ color: rgb(37, 39, 168);
/* oklch */ color: oklch(37.9% 0.197 271.3);
Tailwind
colors: {
  custom: {
    50: '#7763c3',
    500: '#2527a8',
    950: '#000000',
  },
}
SCSS
$custom: #2527a8;
$custom-light: #7763c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2527a8",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 239.084,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.19737,
    "h": 271.3
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#2527A8
secondary
#C4C365
accent
#E441E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2527A8

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

Preview Lab → · Contrast checker → · Palette generator →

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