#2C259B#2C259B

#2C259B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.181 H 275.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2C259B
RGBrgb(44, 37, 155)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 61%)
CMYKcmyk(71.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(24.40, 41.41, -62.51)
CIE-LCHlch(24.40, 74.98, 303.52°)
OKLaboklab(36.61% 0.0166 -0.1807)
OKLCHoklch(36.61% 0.181 275.2)
XYZxyz(7.6147, 4.2244, 31.4181)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C259B #949B25
analogous
#25599B #2C259B #67259B
triadic
#2C259B #9B2C25 #259B2C
tetradic
#2C259B #9B2559 #949B25 #259B67
square
#2C259B #9B2559 #949B25 #259B67
split-complementary
#2C259B #9B6725 #599B25
monochromatic
#100D38 #1E196A #2C259B #3A31CC #6861D9

Accessibility & contrast

On white

11.38
#2C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C259B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C259B#FFFFFF#000000##FFFFFF
##2C259B1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c259b;
/* rgb */ color: rgb(44, 37, 155);
/* oklch */ color: oklch(36.6% 0.181 275.2);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2c259b',
    950: '#000000',
  },
}
SCSS
$custom: #2c259b;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c259b",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 243.559,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36615,
    "c": 0.18149,
    "h": 275.2
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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