#2539B1#2539B1

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

Color values

HEX#2539B1
RGBrgb(37, 57, 177)
HSLhsl(231, 65%, 42%)
HSVhsv(231, 79%, 69%)
CMYKcmyk(79.1%, 67.8%, 0%, 30.6%)
CIE-LABlab(30.62, 36.33, -65.55)
CIE-LCHlch(30.62, 74.95, 298.99°)
OKLaboklab(41.65% -0.0045 -0.1898)
OKLCHoklch(41.65% 0.19 268.6)
XYZxyz(10.1591, 6.4927, 42.3042)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2539B1 #B19D25
analogous
#257FB1 #2539B1 #5725B1
triadic
#2539B1 #B12539 #39B125
tetradic
#2539B1 #B1257F #B19D25 #25B157
square
#2539B1 #B1257F #B19D25 #25B157
split-complementary
#2539B1 #B15725 #7FB125
monochromatic
#10184C #1A297E #2539B1 #3D53D6 #6F80E1

Accessibility & contrast

On white

9.14
#2539B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2539B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2539B1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2539B1#FFFFFF#000000##FFFFFF
##2539B11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2539b1;
/* rgb */ color: rgb(37, 57, 177);
/* oklch */ color: oklch(41.6% 0.190 268.6);
Tailwind
colors: {
  custom: {
    50: '#786fc9',
    500: '#2539b1',
    950: '#000000',
  },
}
SCSS
$custom: #2539b1;
$custom-light: #786fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2539b1",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 231.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.18986,
    "h": 268.6
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#2539B1
secondary
#C8BA6A
accent
#D03FE8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2539B1

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

Preview Lab → · Contrast checker → · Palette generator →

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