#2C2598#2C2598

#2C2598 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.178 H 275.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2C2598
RGBrgb(44, 37, 152)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 76%, 60%)
CMYKcmyk(71.1%, 75.7%, 0%, 40.4%)
CIE-LABlab(24.08, 40.41, -61.19)
CIE-LCHlch(24.08, 73.33, 303.44°)
OKLaboklab(36.29% 0.0172 -0.1769)
OKLCHoklch(36.29% 0.178 275.6)
XYZxyz(7.3659, 4.1249, 30.1077)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2598 #919825
analogous
#255898 #2C2598 #662598
triadic
#2C2598 #982C25 #25982C
tetradic
#2C2598 #982558 #919825 #259866
square
#2C2598 #982558 #919825 #259866
split-complementary
#2C2598 #986625 #589825
monochromatic
#100D36 #1E1967 #2C2598 #3A31C9 #675FD8

Accessibility & contrast

On white

11.51
#2C2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2598
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2598#FFFFFF#000000##FFFFFF
##2C25981.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2598;
/* rgb */ color: rgb(44, 37, 152);
/* oklch */ color: oklch(36.3% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#7661b7',
    500: '#2c2598',
    950: '#000000',
  },
}
SCSS
$custom: #2c2598;
$custom-light: #7661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2598",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 243.652,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36294,
    "c": 0.17775,
    "h": 275.6
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#2C2598
secondary
#B7BD5C
accent
#E444DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2598

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

Preview Lab → · Contrast checker → · Palette generator →

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