#2C539D#2C539D

#2C539D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.128 H 261.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2C539D
RGBrgb(44, 83, 157)
HSLhsl(219, 56%, 39%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(72%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.28, 12.38, -44.37)
CIE-LCHlch(36.28, 46.06, 285.59°)
OKLaboklab(45.48% -0.0184 -0.1271)
OKLCHoklch(45.48% 0.128 261.8)
XYZxyz(10.2156, 9.1552, 33.1205)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C539D #9D762C
analogous
#2C8C9D #2C539D #3E2C9D
triadic
#2C539D #9D2C53 #539D2C
tetradic
#2C539D #9D2C8C #9D762C #2C9D3E
square
#2C539D #9D2C8C #9D762C #2C9D3E
split-complementary
#2C539D #9D3E2C #8C9D2C
monochromatic
#11203D #1F3A6D #2C539D #3D6EC9 #6D91D6

Accessibility & contrast

On white

7.42
#2C539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2C539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C539D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C539D#FFFFFF#000000##FFFFFF
##2C539D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c539d;
/* rgb */ color: rgb(44, 83, 157);
/* oklch */ color: oklch(45.5% 0.128 261.8);
Tailwind
colors: {
  custom: {
    50: '#7482ba',
    500: '#2c539d',
    950: '#000000',
  },
}
SCSS
$custom: #2c539d;
$custom-light: #7482ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c539d",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 219.292,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.12844,
    "h": 261.8
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#2C539D
secondary
#BDA068
accent
#AB48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C539D

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

Preview Lab → · Contrast checker → · Palette generator →

#2C539D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva