#2539A8#2539A8

#2539A8 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.178 H 268.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2539A8
RGBrgb(37, 57, 168)
HSLhsl(231, 64%, 40%)
HSVhsv(231, 78%, 66%)
CMYKcmyk(78%, 66.1%, 0%, 34.1%)
CIE-LABlab(29.78, 33.02, -61.56)
CIE-LCHlch(29.78, 69.85, 298.21°)
OKLaboklab(40.77% -0.004 -0.1781)
OKLCHoklch(40.77% 0.178 268.7)
XYZxyz(9.2915, 6.1457, 37.7347)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539A8 #A89425
analogous
#257AA8 #2539A8 #5325A8
triadic
#2539A8 #A82539 #39A825
tetradic
#2539A8 #A8257A #A89425 #25A853
square
#2539A8 #A8257A #A89425 #25A853
split-complementary
#2539A8 #A85325 #7AA825
monochromatic
#0F1744 #1A2876 #2539A8 #374FD3 #697BDE

Accessibility & contrast

On white

9.42
#2539A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2539A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539A8
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539A8#FFFFFF#000000##FFFFFF
##2539A81.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2539a8;
/* rgb */ color: rgb(37, 57, 168);
/* oklch */ color: oklch(40.8% 0.178 268.7);
Tailwind
colors: {
  custom: {
    50: '#756fc3',
    500: '#2539a8',
    950: '#000000',
  },
}
SCSS
$custom: #2539a8;
$custom-light: #756fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2539a8",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 230.84,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.17817,
    "h": 268.7
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2539A8

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

Preview Lab → · Contrast checker → · Palette generator →

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