#2C2498#2C2498

#2C2498 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.179 H 275.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2C2498
RGBrgb(44, 36, 152)
HSLhsl(244, 62%, 37%)
HSVhsv(244, 76%, 60%)
CMYKcmyk(71.1%, 76.3%, 0%, 40.4%)
CIE-LABlab(23.88, 40.98, -61.52)
CIE-LCHlch(23.88, 73.92, 303.67°)
OKLaboklab(36.15% 0.0178 -0.1779)
OKLCHoklch(36.15% 0.179 275.7)
XYZxyz(7.3352, 4.0635, 30.0975)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2498 #909824
analogous
#245698 #2C2498 #662498
triadic
#2C2498 #982C24 #24982C
tetradic
#2C2498 #982456 #909824 #249866
square
#2C2498 #982456 #909824 #249866
split-complementary
#2C2498 #986624 #569824
monochromatic
#0F0D35 #1E1867 #2C2498 #3A30C9 #665ED9

Accessibility & contrast

On white

11.58
#2C2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2498
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2498#FFFFFF#000000##FFFFFF
##2C24981.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2498;
/* rgb */ color: rgb(44, 36, 152);
/* oklch */ color: oklch(36.2% 0.179 275.7);
Tailwind
colors: {
  custom: {
    50: '#7661b8',
    500: '#2c2498',
    950: '#000000',
  },
}
SCSS
$custom: #2c2498;
$custom-light: #7661b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2498",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 244.138,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36153,
    "c": 0.17875,
    "h": 275.7
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#2C2498
secondary
#B7BE5A
accent
#E543DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2498

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

Preview Lab → · Contrast checker → · Palette generator →

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