#2C2698#2C2698

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

Color values

HEX#2C2698
RGBrgb(44, 38, 152)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 60%)
CMYKcmyk(71.1%, 75%, 0%, 40.4%)
CIE-LABlab(24.28, 39.84, -60.86)
CIE-LCHlch(24.28, 72.74, 303.21°)
OKLaboklab(36.44% 0.0167 -0.1759)
OKLCHoklch(36.44% 0.177 275.4)
XYZxyz(7.3974, 4.1880, 30.1182)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2698 #929826
analogous
#265998 #2C2698 #652698
triadic
#2C2698 #982C26 #26982C
tetradic
#2C2698 #982659 #929826 #269865
square
#2C2698 #982659 #929826 #269865
split-complementary
#2C2698 #986526 #599826
monochromatic
#100E36 #1E1A67 #2C2698 #3A32C9 #6761D7

Accessibility & contrast

On white

11.43
#2C2698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2698
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2698#FFFFFF#000000##FFFFFF
##2C26981.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2698;
/* rgb */ color: rgb(44, 38, 152);
/* oklch */ color: oklch(36.4% 0.177 275.4);
Tailwind
colors: {
  custom: {
    50: '#7662b7',
    500: '#2c2698',
    950: '#000000',
  },
}
SCSS
$custom: #2c2698;
$custom-light: #7662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2698",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 243.158,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.17673,
    "h": 275.4
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#2C2698
secondary
#B8BD5D
accent
#E345DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2698

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

Preview Lab → · Contrast checker → · Palette generator →

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