#2C246A#2C246A

#2C246A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.6% C 0.117 H 282.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2C246A
RGBrgb(44, 36, 106)
HSLhsl(247, 49%, 28%)
HSVhsv(247, 66%, 42%)
CMYKcmyk(58.5%, 66%, 0%, 58.4%)
CIE-LABlab(19.38, 25.24, -39.84)
CIE-LCHlch(19.38, 47.16, 302.36°)
OKLaboklab(31.56% 0.0254 -0.1144)
OKLCHoklch(31.56% 0.117 282.5)
XYZxyz(4.2703, 2.8376, 13.9556)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C246A #626A24
analogous
#243F6A #2C246A #4F246A
triadic
#2C246A #6A2C24 #246A2C
tetradic
#2C246A #6A243F #626A24 #246A4F
square
#2C246A #6A243F #626A24 #246A4F
split-complementary
#2C246A #6A4F24 #3F6A24
monochromatic
#090817 #19143C #2C246A #3F3498 #5648C1

Accessibility & contrast

On white

13.40
#2C246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2C246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C246A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C246A#FFFFFF#000000##FFFFFF
##2C246A1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#0E3543
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c246a;
/* rgb */ color: rgb(44, 36, 106);
/* oklch */ color: oklch(31.6% 0.117 282.5);
Tailwind
colors: {
  custom: {
    50: '#6c5f95',
    500: '#2c246a',
    950: '#000000',
  },
}
SCSS
$custom: #2c246a;
$custom-light: #6c5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2c246a",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 246.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31557,
    "c": 0.11719,
    "h": 282.5
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#2C246A
secondary
#949D4D
accent
#D94FC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C246A

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

Preview Lab → · Contrast checker → · Palette generator →

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