#2C2597#2C2597

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

Color values

HEX#2C2597
RGBrgb(44, 37, 151)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 75%, 59%)
CMYKcmyk(70.9%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.97, 40.08, -60.75)
CIE-LCHlch(23.97, 72.78, 303.41°)
OKLaboklab(36.19% 0.0174 -0.1756)
OKLCHoklch(36.19% 0.176 275.7)
XYZxyz(7.2844, 4.0923, 29.6782)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2597 #909725
analogous
#255797 #2C2597 #652597
triadic
#2C2597 #972C25 #25972C
tetradic
#2C2597 #972557 #909725 #259765
square
#2C2597 #972557 #909725 #259765
split-complementary
#2C2597 #976525 #579725
monochromatic
#0F0D35 #1E1966 #2C2597 #3A31C8 #665FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2597#FFFFFF#000000##FFFFFF
##2C25971.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)
#003E9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2597;
/* rgb */ color: rgb(44, 37, 151);
/* oklch */ color: oklch(36.2% 0.176 275.7);
Tailwind
colors: {
  custom: {
    50: '#7661b7',
    500: '#2c2597',
    950: '#000000',
  },
}
SCSS
$custom: #2c2597;
$custom-light: #7661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2597",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 243.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.17648,
    "h": 275.7
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2597

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

Preview Lab → · Contrast checker → · Palette generator →

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