#2C539B#2C539B

#2C539B is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.126 H 261.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2C539B
RGBrgb(44, 83, 155)
HSLhsl(219, 56%, 39%)
HSVhsv(219, 72%, 61%)
CMYKcmyk(71.6%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.15, 11.61, -43.37)
CIE-LCHlch(36.15, 44.90, 284.99°)
OKLaboklab(45.34% -0.0187 -0.1242)
OKLCHoklch(45.34% 0.126 261.4)
XYZxyz(10.0462, 9.0875, 32.2286)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C539B #9B742C
analogous
#2C8B9B #2C539B #3D2C9B
triadic
#2C539B #9B2C53 #539B2C
tetradic
#2C539B #9B2C8B #9B742C #2C9B3D
square
#2C539B #9B2C8B #9B742C #2C9B3D
split-complementary
#2C539B #9B3D2C #8B9B2C
monochromatic
#11203C #1E396B #2C539B #3C6DC8 #6C91D5

Accessibility & contrast

On white

7.45
#2C539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2C539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C539B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C539B#FFFFFF#000000##FFFFFF
##2C539B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#18509A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c539b;
/* rgb */ color: rgb(44, 83, 155);
/* oklch */ color: oklch(45.3% 0.126 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b9',
    500: '#2c539b',
    950: '#000000',
  },
}
SCSS
$custom: #2c539b;
$custom-light: #7382b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c539b",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 218.919,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.12559,
    "h": 261.4
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#2C539B
secondary
#BC9E67
accent
#AA49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C539B

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

Preview Lab → · Contrast checker → · Palette generator →

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