#2C249F#2C249F

#2C249F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.187 H 275.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2C249F
RGBrgb(44, 36, 159)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(72.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.64, 43.27, -64.56)
CIE-LCHlch(24.64, 77.72, 303.84°)
OKLaboklab(36.91% 0.0162 -0.1867)
OKLCHoklch(36.91% 0.187 275)
XYZxyz(7.9255, 4.2997, 33.2064)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C249F #979F24
analogous
#245A9F #2C249F #69249F
triadic
#2C249F #9F2C24 #249F2C
tetradic
#2C249F #9F245A #979F24 #249F69
square
#2C249F #9F245A #979F24 #249F69
split-complementary
#2C249F #9F6924 #5A9F24
monochromatic
#100D3B #1E196D #2C249F #3A30D0 #6A62DB

Accessibility & contrast

On white

11.29
#2C249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C249F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C249F#FFFFFF#000000##FFFFFF
##2C249F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c249f;
/* rgb */ color: rgb(44, 36, 159);
/* oklch */ color: oklch(36.9% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#7861bd',
    500: '#2c249f',
    950: '#000000',
  },
}
SCSS
$custom: #2c249f;
$custom-light: #7861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c249f",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 243.902,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.18739,
    "h": 275
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#2C249F
secondary
#BAC15E
accent
#E642DB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C249F

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

Preview Lab → · Contrast checker → · Palette generator →

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