#2C415F#2C415F

#2C415F is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.2% C 0.058 H 257.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2C415F
RGBrgb(44, 65, 95)
HSLhsl(215, 37%, 27%)
HSVhsv(215, 54%, 37%)
CMYKcmyk(53.7%, 31.6%, 0%, 62.7%)
CIE-LABlab(27.14, 1.34, -20.31)
CIE-LCHlch(27.14, 20.36, 273.78°)
OKLaboklab(37.21% -0.0128 -0.057)
OKLCHoklch(37.21% 0.058 257.3)
XYZxyz(4.9939, 5.1419, 11.5536)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C415F #5F4A2C
analogous
#2C5B5F #2C415F #302C5F
triadic
#2C415F #5F2C41 #415F2C
tetradic
#2C415F #5F2C5B #5F4A2C #2C5F30
square
#2C415F #5F2C5B #5F4A2C #2C5F30
split-complementary
#2C415F #5F302C #5B5F2C
monochromatic
#0A0E15 #192435 #2C415F #3F5E89 #557BB0

Accessibility & contrast

On white

10.35
#2C415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C415F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C415F#FFFFFF#000000##FFFFFF
##2C415F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354360
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#14484C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c415f;
/* rgb */ color: rgb(44, 65, 95);
/* oklch */ color: oklch(37.2% 0.058 257.3);
Tailwind
colors: {
  custom: {
    50: '#69758c',
    500: '#2c415f',
    950: '#000000',
  },
}
SCSS
$custom: #2c415f;
$custom-light: #69758c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c415f",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 215.294,
    "s": 36.691,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37207,
    "c": 0.05842,
    "h": 257.3
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#2C415F
secondary
#917956
accent
#9E5BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2C415F

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

Preview Lab → · Contrast checker → · Palette generator →

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