#2C249B#2C249B

#2C249B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.182 H 275.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2C249B
RGBrgb(44, 36, 155)
HSLhsl(244, 62%, 37%)
HSVhsv(244, 77%, 61%)
CMYKcmyk(71.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(24.20, 41.97, -62.83)
CIE-LCHlch(24.20, 75.56, 303.74°)
OKLaboklab(36.48% 0.0171 -0.1817)
OKLCHoklch(36.48% 0.182 275.4)
XYZxyz(7.5840, 4.1631, 31.4079)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C249B #939B24
analogous
#24579B #2C249B #68249B
triadic
#2C249B #9B2C24 #249B2C
tetradic
#2C249B #9B2457 #939B24 #249B68
square
#2C249B #9B2457 #939B24 #249B68
split-complementary
#2C249B #9B6824 #579B24
monochromatic
#100D38 #1E1869 #2C249B #3A30CD #685FDA

Accessibility & contrast

On white

11.46
#2C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C249B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C249B#FFFFFF#000000##FFFFFF
##2C249B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c249b;
/* rgb */ color: rgb(44, 36, 155);
/* oklch */ color: oklch(36.5% 0.182 275.4);
Tailwind
colors: {
  custom: {
    50: '#7761ba',
    500: '#2c249b',
    950: '#000000',
  },
}
SCSS
$custom: #2c249b;
$custom-light: #7761ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c249b",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 244.034,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.18246,
    "h": 275.4
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#2C249B
secondary
#B8BF5C
accent
#E542DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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