#2C259D#2C259D

#2C259D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.184 H 275.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2C259D
RGBrgb(44, 37, 157)
HSLhsl(244, 62%, 38%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(72%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.61, 42.07, -63.37)
CIE-LCHlch(24.61, 76.07, 303.58°)
OKLaboklab(36.83% 0.0162 -0.1833)
OKLCHoklch(36.83% 0.184 275)
XYZxyz(7.7841, 4.2922, 32.3100)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C259D #969D25
analogous
#255A9D #2C259D #68259D
triadic
#2C259D #9D2C25 #259D2C
tetradic
#2C259D #9D255A #969D25 #259D68
square
#2C259D #9D255A #969D25 #259D68
split-complementary
#2C259D #9D6825 #5A9D25
monochromatic
#100E3A #1E196B #2C259D #3A31CE #6962DA

Accessibility & contrast

On white

11.30
#2C259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C259D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C259D#FFFFFF#000000##FFFFFF
##2C259D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c259d;
/* rgb */ color: rgb(44, 37, 157);
/* oklch */ color: oklch(36.8% 0.184 275.0);
Tailwind
colors: {
  custom: {
    50: '#7762bb',
    500: '#2c259d',
    950: '#000000',
  },
}
SCSS
$custom: #2c259d;
$custom-light: #7762bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c259d",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 243.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.18397,
    "h": 275
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#2C259D
secondary
#BABF5E
accent
#E543DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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