#2539A2#2539A2

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

Color values

HEX#2539A2
RGBrgb(37, 57, 162)
HSLhsl(230, 63%, 39%)
HSVhsv(230, 77%, 64%)
CMYKcmyk(77.2%, 64.8%, 0%, 36.5%)
CIE-LABlab(29.23, 30.78, -58.84)
CIE-LCHlch(29.23, 66.40, 297.61°)
OKLaboklab(40.2% -0.0037 -0.1702)
OKLCHoklch(40.2% 0.17 268.8)
XYZxyz(8.7454, 5.9272, 34.8586)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539A2 #A28E25
analogous
#2578A2 #2539A2 #5025A2
triadic
#2539A2 #A22539 #39A225
tetradic
#2539A2 #A22578 #A28E25 #25A250
square
#2539A2 #A22578 #A28E25 #25A250
split-complementary
#2539A2 #A25025 #78A225
monochromatic
#0E163E #1A2770 #2539A2 #344DD1 #6578DC

Accessibility & contrast

On white

9.61
#2539A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2539A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539A2
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539A2#FFFFFF#000000##FFFFFF
##2539A21.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2539a2;
/* rgb */ color: rgb(37, 57, 162);
/* oklch */ color: oklch(40.2% 0.170 268.8);
Tailwind
colors: {
  custom: {
    50: '#746fbe',
    500: '#2539a2',
    950: '#000000',
  },
}
SCSS
$custom: #2539a2;
$custom-light: #746fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2539a2",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 230.4,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.402,
    "c": 0.17022,
    "h": 268.8
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#2539A2
secondary
#C2B261
accent
#CC42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2539A2

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

Preview Lab → · Contrast checker → · Palette generator →

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