#2C247D#2C247D

#2C247D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.144 H 279.2°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2C247D
RGBrgb(44, 36, 125)
HSLhsl(245, 55%, 32%)
HSVhsv(245, 71%, 49%)
CMYKcmyk(64.8%, 71.2%, 0%, 51%)
CIE-LABlab(21.12, 31.85, -49.20)
CIE-LCHlch(21.12, 58.61, 302.91°)
OKLaboklab(33.36% 0.0231 -0.1419)
OKLCHoklch(33.36% 0.144 279.2)
XYZxyz(5.3701, 3.2775, 19.7477)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C247D #757D24
analogous
#24497D #2C247D #59247D
triadic
#2C247D #7D2C24 #247D2C
tetradic
#2C247D #7D2449 #757D24 #247D59
square
#2C247D #7D2449 #757D24 #247D59
split-complementary
#2C247D #7D5924 #497D24
monochromatic
#0B091E #1B164D #2C247D #3D32AD #5A4FCC

Accessibility & contrast

On white

12.68
#2C247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C247D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C247D#FFFFFF#000000##FFFFFF
##2C247D1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c247d;
/* rgb */ color: rgb(44, 36, 125);
/* oklch */ color: oklch(33.4% 0.144 279.2);
Tailwind
colors: {
  custom: {
    50: '#7060a4',
    500: '#2c247d',
    950: '#000000',
  },
}
SCSS
$custom: #2c247d;
$custom-light: #7060a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c247d",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 245.393,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.14375,
    "h": 279.2
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#2C247D
secondary
#A7AF4D
accent
#DF49D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2C247D

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

Preview Lab → · Contrast checker → · Palette generator →

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