#2539C6#2539C6

#2539C6 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.216 H 268.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2539C6
RGBrgb(37, 57, 198)
HSLhsl(233, 69%, 46%)
HSVhsv(233, 81%, 78%)
CMYKcmyk(81.3%, 71.2%, 0%, 22.4%)
CIE-LABlab(32.69, 43.82, -74.54)
CIE-LCHlch(32.69, 86.47, 300.45°)
OKLaboklab(43.77% -0.0065 -0.216)
OKLCHoklch(43.77% 0.216 268.3)
XYZxyz(12.4156, 7.3953, 54.1882)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539C6 #C6B225
analogous
#2589C6 #2539C6 #6225C6
triadic
#2539C6 #C62539 #39C625
tetradic
#2539C6 #C62589 #C6B225 #25C662
square
#2539C6 #C62589 #C6B225 #25C662
split-complementary
#2539C6 #C66225 #89C625
monochromatic
#121B5F #1B2A92 #2539C6 #4B5DDD #7E8BE7

Accessibility & contrast

On white

8.47
#2539C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2539C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539C6
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539C6#FFFFFF#000000##FFFFFF
##2539C61.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2539c6;
/* rgb */ color: rgb(37, 57, 198);
/* oklch */ color: oklch(43.8% 0.216 268.3);
Tailwind
colors: {
  custom: {
    50: '#7d70d9',
    500: '#2539c6',
    950: '#000000',
  },
}
SCSS
$custom: #2539c6;
$custom-light: #7d70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2539c6",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 232.547,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.21612,
    "h": 268.3
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#2539C6
secondary
#CFC477
accent
#D63CEB
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2539C6

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

Preview Lab → · Contrast checker → · Palette generator →

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