#2C2695#2C2695

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

Color values

HEX#2C2695
RGBrgb(44, 38, 149)
HSLhsl(243, 59%, 37%)
HSVhsv(243, 74%, 58%)
CMYKcmyk(70.5%, 74.5%, 0%, 41.6%)
CIE-LABlab(23.97, 38.83, -59.53)
CIE-LCHlch(23.97, 71.08, 303.12°)
OKLaboklab(36.12% 0.0173 -0.1721)
OKLCHoklch(36.12% 0.173 275.7)
XYZxyz(7.1549, 4.0910, 28.8405)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2695 #8F9526
analogous
#265895 #2C2695 #642695
triadic
#2C2695 #952C26 #26952C
tetradic
#2C2695 #952658 #8F9526 #269564
square
#2C2695 #952658 #8F9526 #269564
split-complementary
#2C2695 #956426 #589526
monochromatic
#0F0D33 #1E1A64 #2C2695 #3A32C6 #665FD6

Accessibility & contrast

On white

11.55
#2C2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2695
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2695#FFFFFF#000000##FFFFFF
##2C26951.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2695;
/* rgb */ color: rgb(44, 38, 149);
/* oklch */ color: oklch(36.1% 0.173 275.7);
Tailwind
colors: {
  custom: {
    50: '#7562b5',
    500: '#2c2695',
    950: '#000000',
  },
}
SCSS
$custom: #2c2695;
$custom-light: #7562b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2695",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 243.243,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36121,
    "c": 0.17292,
    "h": 275.7
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#2C2695
secondary
#B6BB5B
accent
#E345DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2695

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

Preview Lab → · Contrast checker → · Palette generator →

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