#2C246C#2C246C

#2C246C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.120 H 282.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2C246C
RGBrgb(44, 36, 108)
HSLhsl(247, 50%, 28%)
HSVhsv(247, 67%, 42%)
CMYKcmyk(59.3%, 66.7%, 0%, 57.6%)
CIE-LABlab(19.56, 25.94, -40.85)
CIE-LCHlch(19.56, 48.39, 302.42°)
OKLaboklab(31.74% 0.0253 -0.1174)
OKLCHoklch(31.74% 0.12 282.1)
XYZxyz(4.3755, 2.8797, 14.5097)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C246C #646C24
analogous
#24406C #2C246C #50246C
triadic
#2C246C #6C2C24 #246C2C
tetradic
#2C246C #6C2440 #646C24 #246C50
square
#2C246C #6C2440 #646C24 #246C50
split-complementary
#2C246C #6C5024 #406C24
monochromatic
#090817 #19153E #2C246C #3F339A #5648C2

Accessibility & contrast

On white

13.32
#2C246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C246C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C246C#FFFFFF#000000##FFFFFF
##2C246C1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#0B3644
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c246c;
/* rgb */ color: rgb(44, 36, 108);
/* oklch */ color: oklch(31.7% 0.120 282.1);
Tailwind
colors: {
  custom: {
    50: '#6c5f97',
    500: '#2c246c',
    950: '#000000',
  },
}
SCSS
$custom: #2c246c;
$custom-light: #6c5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c246c",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 246.667,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31738,
    "c": 0.12008,
    "h": 282.1
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#2C246C
secondary
#969F4D
accent
#DA4ECA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C246C

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

Preview Lab → · Contrast checker → · Palette generator →

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