#2539A4#2539A4

#2539A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.173 H 268.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2539A4
RGBrgb(37, 57, 164)
HSLhsl(231, 63%, 39%)
HSVhsv(231, 77%, 64%)
CMYKcmyk(77.4%, 65.2%, 0%, 35.7%)
CIE-LABlab(29.41, 31.53, -59.75)
CIE-LCHlch(29.41, 67.56, 297.82°)
OKLaboklab(40.39% -0.0037 -0.1728)
OKLCHoklch(40.39% 0.173 268.8)
XYZxyz(8.9246, 5.9989, 35.8023)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539A4 #A49025
analogous
#2579A4 #2539A4 #5125A4
triadic
#2539A4 #A42539 #39A425
tetradic
#2539A4 #A42579 #A49025 #25A451
square
#2539A4 #A42579 #A49025 #25A451
split-complementary
#2539A4 #A45125 #79A425
monochromatic
#0E1640 #1A2872 #2539A4 #354DD1 #6779DD

Accessibility & contrast

On white

9.55
#2539A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2539A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539A4
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539A4#FFFFFF#000000##FFFFFF
##2539A41.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2539a4;
/* rgb */ color: rgb(37, 57, 164);
/* oklch */ color: oklch(40.4% 0.173 268.8);
Tailwind
colors: {
  custom: {
    50: '#746fc0',
    500: '#2539a4',
    950: '#000000',
  },
}
SCSS
$custom: #2539a4;
$custom-light: #746fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2539a4",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 230.551,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.17289,
    "h": 268.8
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2539A4
secondary
#C2B362
accent
#CC42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2539A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2539A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva