#2C508F#2C508F

#2C508F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.112 H 260.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2C508F
RGBrgb(44, 80, 143)
HSLhsl(218, 53%, 37%)
HSVhsv(218, 69%, 56%)
CMYKcmyk(69.2%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.51, 9.03, -38.73)
CIE-LCHlch(34.51, 39.77, 283.12°)
OKLaboklab(43.83% -0.018 -0.1106)
OKLCHoklch(43.83% 0.112 260.8)
XYZxyz(8.8635, 8.2551, 27.1075)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C508F #8F6B2C
analogous
#2C828F #2C508F #3A2C8F
triadic
#2C508F #8F2C50 #508F2C
tetradic
#2C508F #8F2C82 #8F6B2C #2C8F3A
square
#2C508F #8F2C82 #8F6B2C #2C8F3A
split-complementary
#2C508F #8F3A2C #828F2C
monochromatic
#0F1C31 #1E3660 #2C508F #3A6ABE #668CD0

Accessibility & contrast

On white

7.92
#2C508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C508F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C508F#FFFFFF#000000##FFFFFF
##2C508F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c508f;
/* rgb */ color: rgb(44, 80, 143);
/* oklch */ color: oklch(43.8% 0.112 260.8);
Tailwind
colors: {
  custom: {
    50: '#7180b0',
    500: '#2c508f',
    950: '#000000',
  },
}
SCSS
$custom: #2c508f;
$custom-light: #7180b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c508f",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 218.182,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.11207,
    "h": 260.8
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#2C508F
secondary
#B69761
accent
#A84BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C508F

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

Preview Lab → · Contrast checker → · Palette generator →

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