#2539A9#2539A9

#2539A9 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.179 H 268.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2539A9
RGBrgb(37, 57, 169)
HSLhsl(231, 64%, 40%)
HSVhsv(231, 78%, 66%)
CMYKcmyk(78.1%, 66.3%, 0%, 33.7%)
CIE-LABlab(29.87, 33.39, -62.01)
CIE-LCHlch(29.87, 70.42, 298.30°)
OKLaboklab(40.87% -0.004 -0.1794)
OKLCHoklch(40.87% 0.179 268.7)
XYZxyz(9.3850, 6.1831, 38.2273)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539A9 #A99525
analogous
#257BA9 #2539A9 #5325A9
triadic
#2539A9 #A92539 #39A925
tetradic
#2539A9 #A9257B #A99525 #25A953
square
#2539A9 #A9257B #A99525 #25A953
split-complementary
#2539A9 #A95325 #7BA925
monochromatic
#0F1745 #1A2877 #2539A9 #384FD3 #6A7CDE

Accessibility & contrast

On white

9.39
#2539A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2539A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539A9
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539A9#FFFFFF#000000##FFFFFF
##2539A91.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2539a9;
/* rgb */ color: rgb(37, 57, 169);
/* oklch */ color: oklch(40.9% 0.179 268.7);
Tailwind
colors: {
  custom: {
    50: '#766fc4',
    500: '#2539a9',
    950: '#000000',
  },
}
SCSS
$custom: #2539a9;
$custom-light: #766fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2539a9",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 230.909,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.17949,
    "h": 268.7
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#2539A9
secondary
#C4B665
accent
#CE41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2539A9

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

Preview Lab → · Contrast checker → · Palette generator →

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