#2C249A#2C249A

#2C249A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.181 H 275.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2C249A
RGBrgb(44, 36, 154)
HSLhsl(244, 62%, 37%)
HSVhsv(244, 77%, 60%)
CMYKcmyk(71.4%, 76.6%, 0%, 39.6%)
CIE-LABlab(24.10, 41.64, -62.40)
CIE-LCHlch(24.10, 75.01, 303.72°)
OKLaboklab(36.37% 0.0173 -0.1804)
OKLCHoklch(36.37% 0.181 275.5)
XYZxyz(7.5004, 4.1296, 30.9674)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C249A #929A24
analogous
#24579A #2C249A #67249A
triadic
#2C249A #9A2C24 #249A2C
tetradic
#2C249A #9A2457 #929A24 #249A67
square
#2C249A #9A2457 #929A24 #249A67
split-complementary
#2C249A #9A6724 #579A24
monochromatic
#100D37 #1E1868 #2C249A #3A30CC #675FDA

Accessibility & contrast

On white

11.50
#2C249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C249A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C249A#FFFFFF#000000##FFFFFF
##2C249A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c249a;
/* rgb */ color: rgb(44, 36, 154);
/* oklch */ color: oklch(36.4% 0.181 275.5);
Tailwind
colors: {
  custom: {
    50: '#7661b9',
    500: '#2c249a',
    950: '#000000',
  },
}
SCSS
$custom: #2c249a;
$custom-light: #7661b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c249a",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 244.068,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36368,
    "c": 0.18123,
    "h": 275.5
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#2C249A
secondary
#B8BF5B
accent
#E543DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C249A

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

Preview Lab → · Contrast checker → · Palette generator →

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