#2C249D#2C249D

#2C249D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.185 H 275.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2C249D
RGBrgb(44, 36, 157)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(72%, 77.1%, 0%, 38.4%)
CIE-LABlab(24.42, 42.62, -63.70)
CIE-LCHlch(24.42, 76.64, 303.79°)
OKLaboklab(36.69% 0.0167 -0.1842)
OKLCHoklch(36.69% 0.185 275.2)
XYZxyz(7.7534, 4.2308, 32.2998)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C249D #959D24
analogous
#24589D #2C249D #68249D
triadic
#2C249D #9D2C24 #249D2C
tetradic
#2C249D #9D2458 #959D24 #249D68
square
#2C249D #9D2458 #959D24 #249D68
split-complementary
#2C249D #9D6824 #589D24
monochromatic
#100D39 #1E196B #2C249D #3A2FCF #6961DB

Accessibility & contrast

On white

11.37
#2C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C249D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C249D#FFFFFF#000000##FFFFFF
##2C249D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c249d;
/* rgb */ color: rgb(44, 36, 157);
/* oklch */ color: oklch(36.7% 0.185 275.2);
Tailwind
colors: {
  custom: {
    50: '#7761bb',
    500: '#2c249d',
    950: '#000000',
  },
}
SCSS
$custom: #2c249d;
$custom-light: #7761bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c249d",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 243.967,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.18493,
    "h": 275.2
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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