#2C538C#2C538C

#2C538C is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.104 H 257.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2C538C
RGBrgb(44, 83, 140)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 69%, 55%)
CMYKcmyk(68.6%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.23, 5.92, -35.75)
CIE-LCHlch(35.23, 36.24, 279.40°)
OKLaboklab(44.33% -0.0218 -0.1018)
OKLCHoklch(44.33% 0.104 257.9)
XYZxyz(8.8639, 8.6145, 26.0015)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C538C #8C652C
analogous
#2C838C #2C538C #352C8C
triadic
#2C538C #8C2C53 #538C2C
tetradic
#2C538C #8C2C83 #8C652C #2C8C35
square
#2C538C #8C2C83 #8C652C #2C8C35
split-complementary
#2C538C #8C352C #838C2C
monochromatic
#0F1C2F #1D375D #2C538C #3B6FBB #648FCE

Accessibility & contrast

On white

7.71
#2C538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C538C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C538C#FFFFFF#000000##FFFFFF
##2C538C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c538c;
/* rgb */ color: rgb(44, 83, 140);
/* oklch */ color: oklch(44.3% 0.104 257.9);
Tailwind
colors: {
  custom: {
    50: '#7083ae',
    500: '#2c538c',
    950: '#000000',
  },
}
SCSS
$custom: #2c538c;
$custom-light: #7083ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c538c",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 215.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.10413,
    "h": 257.9
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#2C538C
secondary
#B5925F
accent
#A14CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C538C

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

Preview Lab → · Contrast checker → · Palette generator →

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