#2C538F#2C538F

#2C538F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.108 H 258.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2C538F
RGBrgb(44, 83, 143)
HSLhsl(216, 53%, 37%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(69.2%, 42%, 0%, 43.9%)
CIE-LABlab(35.41, 7.05, -37.30)
CIE-LCHlch(35.41, 37.96, 280.70°)
OKLaboklab(44.52% -0.0211 -0.1063)
OKLCHoklch(44.52% 0.108 258.8)
XYZxyz(9.0881, 8.7042, 27.1824)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C538F #8F682C
analogous
#2C858F #2C538F #372C8F
triadic
#2C538F #8F2C53 #538F2C
tetradic
#2C538F #8F2C85 #8F682C #2C8F37
square
#2C538F #8F2C85 #8F682C #2C8F37
split-complementary
#2C538F #8F372C #858F2C
monochromatic
#0F1D31 #1E3860 #2C538F #3A6EBE #668FD0

Accessibility & contrast

On white

7.66
#2C538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2C538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C538F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C538F#FFFFFF#000000##FFFFFF
##2C538F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c538f;
/* rgb */ color: rgb(44, 83, 143);
/* oklch */ color: oklch(44.5% 0.108 258.8);
Tailwind
colors: {
  custom: {
    50: '#7182b0',
    500: '#2c538f',
    950: '#000000',
  },
}
SCSS
$custom: #2c538f;
$custom-light: #7182b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c538f",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 216.364,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.10842,
    "h": 258.8
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#2C538F
secondary
#B69461
accent
#A34BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C538F

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

Preview Lab → · Contrast checker → · Palette generator →

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