#2C246E#2C246E

#2C246E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.123 H 281.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2C246E
RGBrgb(44, 36, 110)
HSLhsl(246, 51%, 29%)
HSVhsv(246, 67%, 43%)
CMYKcmyk(60%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.73, 26.64, -41.86)
CIE-LCHlch(19.73, 49.62, 302.47°)
OKLaboklab(31.92% 0.0251 -0.1203)
OKLCHoklch(31.92% 0.123 281.8)
XYZxyz(4.4832, 2.9227, 15.0767)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C246E #666E24
analogous
#24416E #2C246E #51246E
triadic
#2C246E #6E2C24 #246E2C
tetradic
#2C246E #6E2441 #666E24 #246E51
square
#2C246E #6E2441 #666E24 #246E51
split-complementary
#2C246E #6E5124 #416E24
monochromatic
#090817 #1A1540 #2C246E #3E339C #5649C3

Accessibility & contrast

On white

13.25
#2C246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C246E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C246E#FFFFFF#000000##FFFFFF
##2C246E1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#083645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c246e;
/* rgb */ color: rgb(44, 36, 110);
/* oklch */ color: oklch(31.9% 0.123 281.8);
Tailwind
colors: {
  custom: {
    50: '#6d5f98',
    500: '#2c246e',
    950: '#000000',
  },
}
SCSS
$custom: #2c246e;
$custom-light: #6d5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2c246e",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 246.486,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.12293,
    "h": 281.8
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#2C246E
secondary
#98A14D
accent
#DA4ECB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2C246E

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

Preview Lab → · Contrast checker → · Palette generator →

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