#2C529E#2C529E

#2C529E is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.131 H 262.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2C529E
RGBrgb(44, 82, 158)
HSLhsl(220, 56%, 40%)
HSVhsv(220, 72%, 62%)
CMYKcmyk(72.2%, 48.1%, 0%, 38%)
CIE-LABlab(36.06, 13.42, -45.33)
CIE-LCHlch(36.06, 47.27, 286.49°)
OKLaboklab(45.33% -0.0173 -0.13)
OKLCHoklch(45.33% 0.131 262.4)
XYZxyz(10.2254, 9.0376, 33.5467)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C529E #9E782C
analogous
#2C8B9E #2C529E #3F2C9E
triadic
#2C529E #9E2C52 #529E2C
tetradic
#2C529E #9E2C8B #9E782C #2C9E3F
square
#2C529E #9E2C8B #9E782C #2C9E3F
split-complementary
#2C529E #9E3F2C #8B9E2C
monochromatic
#11203E #1F396E #2C529E #3E6CC9 #6E91D7

Accessibility & contrast

On white

7.48
#2C529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2C529E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C529E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C529E#FFFFFF#000000##FFFFFF
##2C529E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#0D509C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c529e;
/* rgb */ color: rgb(44, 82, 158);
/* oklch */ color: oklch(45.3% 0.131 262.4);
Tailwind
colors: {
  custom: {
    50: '#7482bb',
    500: '#2c529e',
    950: '#000000',
  },
}
SCSS
$custom: #2c529e;
$custom-light: #7482bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c529e",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 220,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.13111,
    "h": 262.4
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#2C529E
secondary
#BEA168
accent
#AD48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C529E

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

Preview Lab → · Contrast checker → · Palette generator →

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