#2C259E#2C259E

#2C259E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.185 H 274.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2C259E
RGBrgb(44, 37, 158)
HSLhsl(243, 62%, 38%)
HSVhsv(243, 77%, 62%)
CMYKcmyk(72.2%, 76.6%, 0%, 38%)
CIE-LABlab(24.72, 42.40, -63.81)
CIE-LCHlch(24.72, 76.61, 303.60°)
OKLaboklab(36.94% 0.0159 -0.1845)
OKLCHoklch(36.94% 0.185 274.9)
XYZxyz(7.8698, 4.3265, 32.7615)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C259E #979E25
analogous
#255A9E #2C259E #68259E
triadic
#2C259E #9E2C25 #259E2C
tetradic
#2C259E #9E255A #979E25 #259E68
square
#2C259E #9E255A #979E25 #259E68
split-complementary
#2C259E #9E6825 #5A9E25
monochromatic
#100E3B #1E196C #2C259E #3A31CF #6A63DA

Accessibility & contrast

On white

11.26
#2C259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C259E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C259E#FFFFFF#000000##FFFFFF
##2C259E1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c259e;
/* rgb */ color: rgb(44, 37, 158);
/* oklch */ color: oklch(36.9% 0.185 274.9);
Tailwind
colors: {
  custom: {
    50: '#7762bc',
    500: '#2c259e',
    950: '#000000',
  },
}
SCSS
$custom: #2c259e;
$custom-light: #7762bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c259e",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 243.471,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36939,
    "c": 0.18521,
    "h": 274.9
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#2C259E
secondary
#BAC05F
accent
#E543DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C259E

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

Preview Lab → · Contrast checker → · Palette generator →

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