#2C518F#2C518F

#2C518F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.111 H 260.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C518F
RGBrgb(44, 81, 143)
HSLhsl(218, 53%, 37%)
HSVhsv(218, 69%, 56%)
CMYKcmyk(69.2%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.81, 8.37, -38.26)
CIE-LCHlch(34.81, 39.16, 282.34°)
OKLaboklab(44.06% -0.019 -0.1092)
OKLCHoklch(44.06% 0.111 260.1)
XYZxyz(8.9373, 8.4026, 27.1321)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C518F #8F6A2C
analogous
#2C838F #2C518F #392C8F
triadic
#2C518F #8F2C51 #518F2C
tetradic
#2C518F #8F2C83 #8F6A2C #2C8F39
square
#2C518F #8F2C83 #8F6A2C #2C8F39
split-complementary
#2C518F #8F392C #838F2C
monochromatic
#0F1C31 #1E3660 #2C518F #3A6CBE #668DD0

Accessibility & contrast

On white

7.83
#2C518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C518F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C518F#FFFFFF#000000##FFFFFF
##2C518F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#244E8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c518f;
/* rgb */ color: rgb(44, 81, 143);
/* oklch */ color: oklch(44.1% 0.111 260.1);
Tailwind
colors: {
  custom: {
    50: '#7181b0',
    500: '#2c518f',
    950: '#000000',
  },
}
SCSS
$custom: #2c518f;
$custom-light: #7181b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c518f",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 217.576,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44056,
    "c": 0.11084,
    "h": 260.1
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#2C518F
secondary
#B69661
accent
#A64BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C518F

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

Preview Lab → · Contrast checker → · Palette generator →

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