#2539AE#2539AE

#2539AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.186 H 268.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2539AE
RGBrgb(37, 57, 174)
HSLhsl(231, 65%, 41%)
HSVhsv(231, 79%, 68%)
CMYKcmyk(78.7%, 67.2%, 0%, 31.8%)
CIE-LABlab(30.34, 35.23, -64.23)
CIE-LCHlch(30.34, 73.26, 298.74°)
OKLaboklab(41.35% -0.0043 -0.1859)
OKLCHoklch(41.35% 0.186 268.7)
XYZxyz(9.8634, 6.3744, 40.7467)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539AE #AE9A25
analogous
#257EAE #2539AE #5625AE
triadic
#2539AE #AE2539 #39AE25
tetradic
#2539AE #AE257E #AE9A25 #25AE56
square
#2539AE #AE257E #AE9A25 #25AE56
split-complementary
#2539AE #AE5625 #7EAE25
monochromatic
#101849 #1A287C #2539AE #3B51D5 #6D7EE0

Accessibility & contrast

On white

9.23
#2539AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2539AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539AE
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539AE#FFFFFF#000000##FFFFFF
##2539AE1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2539ae;
/* rgb */ color: rgb(37, 57, 174);
/* oklch */ color: oklch(41.4% 0.186 268.7);
Tailwind
colors: {
  custom: {
    50: '#776fc7',
    500: '#2539ae',
    950: '#000000',
  },
}
SCSS
$custom: #2539ae;
$custom-light: #776fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2539ae",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 231.241,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.186,
    "h": 268.7
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#2539AE
secondary
#C6B968
accent
#CF40E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2539AE

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

Preview Lab → · Contrast checker → · Palette generator →

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