#2C249C#2C249C

#2C249C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.184 H 275.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2C249C
RGBrgb(44, 36, 156)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 61%)
CMYKcmyk(71.8%, 76.9%, 0%, 38.8%)
CIE-LABlab(24.31, 42.30, -63.26)
CIE-LCHlch(24.31, 76.10, 303.76°)
OKLaboklab(36.59% 0.0169 -0.1829)
OKLCHoklch(36.59% 0.184 275.3)
XYZxyz(7.6684, 4.1968, 31.8520)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C249C #949C24
analogous
#24589C #2C249C #68249C
triadic
#2C249C #9C2C24 #249C2C
tetradic
#2C249C #9C2458 #949C24 #249C68
square
#2C249C #9C2458 #949C24 #249C68
split-complementary
#2C249C #9C6824 #589C24
monochromatic
#100D39 #1E196A #2C249C #3A2FCE #6860DA

Accessibility & contrast

On white

11.42
#2C249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C249C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C249C#FFFFFF#000000##FFFFFF
##2C249C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c249c;
/* rgb */ color: rgb(44, 36, 156);
/* oklch */ color: oklch(36.6% 0.184 275.3);
Tailwind
colors: {
  custom: {
    50: '#7761ba',
    500: '#2c249c',
    950: '#000000',
  },
}
SCSS
$custom: #2c249c;
$custom-light: #7761ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c249c",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 244,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.18371,
    "h": 275.3
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#2C249C
secondary
#B9BF5C
accent
#E642DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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