#2C259A#2C259A

#2C259A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.180 H 275.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2C259A
RGBrgb(44, 37, 154)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 76%, 60%)
CMYKcmyk(71.4%, 76%, 0%, 39.6%)
CIE-LABlab(24.29, 41.08, -62.07)
CIE-LCHlch(24.29, 74.43, 303.50°)
OKLaboklab(36.51% 0.0168 -0.1795)
OKLCHoklch(36.51% 0.18 275.3)
XYZxyz(7.5311, 4.1910, 30.9776)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C259A #939A25
analogous
#25589A #2C259A #67259A
triadic
#2C259A #9A2C25 #259A2C
tetradic
#2C259A #9A2558 #939A25 #259A67
square
#2C259A #9A2558 #939A25 #259A67
split-complementary
#2C259A #9A6725 #589A25
monochromatic
#100D37 #1E1969 #2C259A #3A31CB #6860D9

Accessibility & contrast

On white

11.42
#2C259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C259A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C259A#FFFFFF#000000##FFFFFF
##2C259A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c259a;
/* rgb */ color: rgb(44, 37, 154);
/* oklch */ color: oklch(36.5% 0.180 275.3);
Tailwind
colors: {
  custom: {
    50: '#7662b9',
    500: '#2c259a',
    950: '#000000',
  },
}
SCSS
$custom: #2c259a;
$custom-light: #7662b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c259a",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 243.59,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.18024,
    "h": 275.3
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#2C259A
secondary
#B8BE5D
accent
#E443DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C259A

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

Preview Lab → · Contrast checker → · Palette generator →

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