#2C539E#2C539E

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

Color values

HEX#2C539E
RGBrgb(44, 83, 158)
HSLhsl(219, 56%, 40%)
HSVhsv(219, 72%, 62%)
CMYKcmyk(72.2%, 47.5%, 0%, 38%)
CIE-LABlab(36.35, 12.76, -44.86)
CIE-LCHlch(36.35, 46.64, 285.87°)
OKLaboklab(45.55% -0.0182 -0.1286)
OKLCHoklch(45.55% 0.13 262)
XYZxyz(10.3013, 9.1895, 33.5720)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C539E #9E772C
analogous
#2C8C9E #2C539E #3E2C9E
triadic
#2C539E #9E2C53 #539E2C
tetradic
#2C539E #9E2C8C #9E772C #2C9E3E
square
#2C539E #9E2C8C #9E772C #2C9E3E
split-complementary
#2C539E #9E3E2C #8C9E2C
monochromatic
#11213E #1F3A6E #2C539E #3E6EC9 #6E92D7

Accessibility & contrast

On white

7.40
#2C539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2C539E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C539E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C539E#FFFFFF#000000##FFFFFF
##2C539E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#11519C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c539e;
/* rgb */ color: rgb(44, 83, 158);
/* oklch */ color: oklch(45.5% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482bb',
    500: '#2c539e',
    950: '#000000',
  },
}
SCSS
$custom: #2c539e;
$custom-light: #7482bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c539e",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 219.474,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.12986,
    "h": 262
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#2C539E
secondary
#BEA068
accent
#AC48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C539E

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

Preview Lab → · Contrast checker → · Palette generator →

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