#2C246F#2C246F

#2C246F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.124 H 281.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2C246F
RGBrgb(44, 36, 111)
HSLhsl(246, 51%, 29%)
HSVhsv(246, 68%, 44%)
CMYKcmyk(60.4%, 67.6%, 0%, 56.5%)
CIE-LABlab(19.82, 26.99, -42.37)
CIE-LCHlch(19.82, 50.23, 302.50°)
OKLaboklab(32.01% 0.025 -0.1218)
OKLCHoklch(32.01% 0.124 281.6)
XYZxyz(4.5379, 2.9446, 15.3651)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C246F #676F24
analogous
#24426F #2C246F #52246F
triadic
#2C246F #6F2C24 #246F2C
tetradic
#2C246F #6F2442 #676F24 #246F52
square
#2C246F #6F2442 #676F24 #246F52
split-complementary
#2C246F #6F5224 #426F24
monochromatic
#090717 #1A1541 #2C246F #3E339D #5649C4

Accessibility & contrast

On white

13.22
#2C246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C246F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C246F#FFFFFF#000000##FFFFFF
##2C246F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#063746
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c246f;
/* rgb */ color: rgb(44, 36, 111);
/* oklch */ color: oklch(32.0% 0.124 281.6);
Tailwind
colors: {
  custom: {
    50: '#6d5f99',
    500: '#2c246f',
    950: '#000000',
  },
}
SCSS
$custom: #2c246f;
$custom-light: #6d5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c246f",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 246.4,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.12436,
    "h": 281.6
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#2C246F
secondary
#99A24D
accent
#DA4DCB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2C246F

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

Preview Lab → · Contrast checker → · Palette generator →

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