#2C259F#2C259F

#2C259F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.186 H 274.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2C259F
RGBrgb(44, 37, 159)
HSLhsl(243, 62%, 38%)
HSVhsv(243, 77%, 62%)
CMYKcmyk(72.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.83, 42.73, -64.24)
CIE-LCHlch(24.83, 77.15, 303.63°)
OKLaboklab(37.05% 0.0157 -0.1858)
OKLCHoklch(37.05% 0.186 274.8)
XYZxyz(7.9562, 4.3610, 33.2166)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C259F #989F25
analogous
#255B9F #2C259F #69259F
triadic
#2C259F #9F2C25 #259F2C
tetradic
#2C259F #9F255B #989F25 #259F69
square
#2C259F #9F255B #989F25 #259F69
split-complementary
#2C259F #9F6925 #5B9F25
monochromatic
#110E3C #1E196D #2C259F #3B32CF #6A64DB

Accessibility & contrast

On white

11.22
#2C259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C259F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C259F#FFFFFF#000000##FFFFFF
##2C259F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c259f;
/* rgb */ color: rgb(44, 37, 159);
/* oklch */ color: oklch(37.0% 0.186 274.8);
Tailwind
colors: {
  custom: {
    50: '#7862bd',
    500: '#2c259f',
    950: '#000000',
  },
}
SCSS
$custom: #2c259f;
$custom-light: #7862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c259f",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 243.443,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.18643,
    "h": 274.8
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#2C259F
secondary
#BBC05F
accent
#E542DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C259F

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

Preview Lab → · Contrast checker → · Palette generator →

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