#2C538D#2C538D

#2C538D is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.106 H 258.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2C538D
RGBrgb(44, 83, 141)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 69%, 55%)
CMYKcmyk(68.8%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.29, 6.29, -36.27)
CIE-LCHlch(35.29, 36.81, 279.85°)
OKLaboklab(44.39% -0.0215 -0.1033)
OKLCHoklch(44.39% 0.106 258.2)
XYZxyz(8.9380, 8.6442, 26.3916)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C538D #8D662C
analogous
#2C848D #2C538D #362C8D
triadic
#2C538D #8D2C53 #538D2C
tetradic
#2C538D #8D2C84 #8D662C #2C8D36
square
#2C538D #8D2C84 #8D662C #2C8D36
split-complementary
#2C538D #8D362C #848D2C
monochromatic
#0F1C30 #1D385E #2C538D #3B6EBC #658FCF

Accessibility & contrast

On white

7.70
#2C538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C538D
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C538D#FFFFFF#000000##FFFFFF
##2C538D1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c538d;
/* rgb */ color: rgb(44, 83, 141);
/* oklch */ color: oklch(44.4% 0.106 258.2);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2c538d',
    950: '#000000',
  },
}
SCSS
$custom: #2c538d;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c538d",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 215.876,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.10555,
    "h": 258.2
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#2C538D
secondary
#B59360
accent
#A24CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C538D

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

Preview Lab → · Contrast checker → · Palette generator →

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