#2C247B#2C247B

#2C247B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.141 H 279.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2C247B
RGBrgb(44, 36, 123)
HSLhsl(246, 55%, 31%)
HSVhsv(246, 71%, 48%)
CMYKcmyk(64.2%, 70.7%, 0%, 51.8%)
CIE-LABlab(20.93, 31.16, -48.25)
CIE-LCHlch(20.93, 57.43, 302.85°)
OKLaboklab(33.16% 0.0234 -0.1391)
OKLCHoklch(33.16% 0.141 279.5)
XYZxyz(5.2436, 3.2269, 19.0816)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C247B #737B24
analogous
#24477B #2C247B #57247B
triadic
#2C247B #7B2C24 #247B2C
tetradic
#2C247B #7B2447 #737B24 #247B57
square
#2C247B #7B2447 #737B24 #247B57
split-complementary
#2C247B #7B5724 #477B24
monochromatic
#0A081C #1B164C #2C247B #3D32AA #5A4ECB

Accessibility & contrast

On white

12.76
#2C247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C247B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C247B#FFFFFF#000000##FFFFFF
##2C247B1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c247b;
/* rgb */ color: rgb(44, 36, 123);
/* oklch */ color: oklch(33.2% 0.141 279.5);
Tailwind
colors: {
  custom: {
    50: '#705fa2',
    500: '#2c247b',
    950: '#000000',
  },
}
SCSS
$custom: #2c247b;
$custom-light: #705fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c247b",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 245.517,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3316,
    "c": 0.14103,
    "h": 279.5
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#2C247B
secondary
#A5AD4D
accent
#DE4AD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2C247B

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

Preview Lab → · Contrast checker → · Palette generator →

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