#2539A0#2539A0

#2539A0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.168 H 268.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2539A0
RGBrgb(37, 57, 160)
HSLhsl(230, 62%, 39%)
HSVhsv(230, 77%, 63%)
CMYKcmyk(76.9%, 64.4%, 0%, 37.3%)
CIE-LABlab(29.05, 30.03, -57.92)
CIE-LCHlch(29.05, 65.24, 297.40°)
OKLaboklab(40.01% -0.0036 -0.1675)
OKLCHoklch(40.01% 0.168 268.8)
XYZxyz(8.5690, 5.8567, 33.9297)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539A0 #A08C25
analogous
#2576A0 #2539A0 #4E25A0
triadic
#2539A0 #A02539 #39A025
tetradic
#2539A0 #A02576 #A08C25 #25A04E
square
#2539A0 #A02576 #A08C25 #25A04E
split-complementary
#2539A0 #A04E25 #76A025
monochromatic
#0E163D #1A276E #2539A0 #324CD0 #6478DB

Accessibility & contrast

On white

9.67
#2539A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2539A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539A0
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539A0#FFFFFF#000000##FFFFFF
##2539A01.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2539a0;
/* rgb */ color: rgb(37, 57, 160);
/* oklch */ color: oklch(40.0% 0.168 268.8);
Tailwind
colors: {
  custom: {
    50: '#736fbd',
    500: '#2539a0',
    950: '#000000',
  },
}
SCSS
$custom: #2539a0;
$custom-light: #736fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2539a0",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 230.244,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.16754,
    "h": 268.8
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#2539A0
secondary
#C1B160
accent
#CB42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2539A0

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

Preview Lab → · Contrast checker → · Palette generator →

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