#2539B0#2539B0

#2539B0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.189 H 268.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2539B0
RGBrgb(37, 57, 176)
HSLhsl(231, 65%, 42%)
HSVhsv(231, 79%, 69%)
CMYKcmyk(79%, 67.6%, 0%, 31%)
CIE-LABlab(30.53, 35.96, -65.11)
CIE-LCHlch(30.53, 74.39, 298.91°)
OKLaboklab(41.55% -0.0045 -0.1885)
OKLCHoklch(41.55% 0.189 268.6)
XYZxyz(10.0598, 6.4530, 41.7812)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539B0 #B09C25
analogous
#257FB0 #2539B0 #5725B0
triadic
#2539B0 #B02539 #39B025
tetradic
#2539B0 #B0257F #B09C25 #25B057
square
#2539B0 #B0257F #B09C25 #25B057
split-complementary
#2539B0 #B05725 #7FB025
monochromatic
#10184B #1A297D #2539B0 #3C52D6 #6F7FE1

Accessibility & contrast

On white

9.17
#2539B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2539B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539B0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539B0#FFFFFF#000000##FFFFFF
##2539B01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2539b0;
/* rgb */ color: rgb(37, 57, 176);
/* oklch */ color: oklch(41.5% 0.189 268.6);
Tailwind
colors: {
  custom: {
    50: '#776fc9',
    500: '#2539b0',
    950: '#000000',
  },
}
SCSS
$custom: #2539b0;
$custom-light: #776fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2539b0",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 231.367,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.18858,
    "h": 268.6
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#2539B0
secondary
#C7BA6A
accent
#D040E8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2539B0

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

Preview Lab → · Contrast checker → · Palette generator →

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