#2C2697#2C2697

#2C2697 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.175 H 275.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2C2697
RGBrgb(44, 38, 151)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 59%)
CMYKcmyk(70.9%, 74.8%, 0%, 40.8%)
CIE-LABlab(24.18, 39.51, -60.42)
CIE-LCHlch(24.18, 72.19, 303.18°)
OKLaboklab(36.33% 0.0169 -0.1746)
OKLCHoklch(36.33% 0.175 275.5)
XYZxyz(7.3159, 4.1554, 29.6887)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2697 #919726
analogous
#265997 #2C2697 #652697
triadic
#2C2697 #972C26 #26972C
tetradic
#2C2697 #972659 #919726 #269765
square
#2C2697 #972659 #919726 #269765
split-complementary
#2C2697 #976526 #599726
monochromatic
#100D35 #1E1A66 #2C2697 #3A32C8 #6760D7

Accessibility & contrast

On white

11.47
#2C2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2697
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2697#FFFFFF#000000##FFFFFF
##2C26971.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2697;
/* rgb */ color: rgb(44, 38, 151);
/* oklch */ color: oklch(36.3% 0.175 275.5);
Tailwind
colors: {
  custom: {
    50: '#7662b7',
    500: '#2c2697',
    950: '#000000',
  },
}
SCSS
$custom: #2c2697;
$custom-light: #7662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2697",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 243.186,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36332,
    "c": 0.17546,
    "h": 275.5
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2697

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

Preview Lab → · Contrast checker → · Palette generator →

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