#2C246D#2C246D

#2C246D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.121 H 282.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2C246D
RGBrgb(44, 36, 109)
HSLhsl(247, 50%, 28%)
HSVhsv(247, 67%, 43%)
CMYKcmyk(59.6%, 67%, 0%, 57.3%)
CIE-LABlab(19.64, 26.29, -41.36)
CIE-LCHlch(19.64, 49.01, 302.44°)
OKLaboklab(31.83% 0.0252 -0.1189)
OKLCHoklch(31.83% 0.122 282)
XYZxyz(4.4290, 2.9011, 14.7916)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C246D #656D24
analogous
#24406D #2C246D #50246D
triadic
#2C246D #6D2C24 #246D2C
tetradic
#2C246D #6D2440 #656D24 #246D50
square
#2C246D #6D2440 #656D24 #246D50
split-complementary
#2C246D #6D5024 #406D24
monochromatic
#090817 #19153F #2C246D #3F339B #5649C3

Accessibility & contrast

On white

13.29
#2C246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C246D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C246D#FFFFFF#000000##FFFFFF
##2C246D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#0A3645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c246d;
/* rgb */ color: rgb(44, 36, 109);
/* oklch */ color: oklch(31.8% 0.121 282.0);
Tailwind
colors: {
  custom: {
    50: '#6d5f97',
    500: '#2c246d',
    950: '#000000',
  },
}
SCSS
$custom: #2c246d;
$custom-light: #6d5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c246d",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 246.575,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.1215,
    "h": 282
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#2C246D
secondary
#97A04D
accent
#DA4ECB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2C246D

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

Preview Lab → · Contrast checker → · Palette generator →

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