#2C2385#2C2385

#2C2385 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.156 H 278.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2C2385
RGBrgb(44, 35, 133)
HSLhsl(246, 58%, 33%)
HSVhsv(246, 74%, 52%)
CMYKcmyk(66.9%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.69, 35.20, -53.32)
CIE-LCHlch(21.69, 63.89, 303.43°)
OKLaboklab(34.01% 0.0224 -0.1539)
OKLCHoklch(34.01% 0.156 278.3)
XYZxyz(5.8720, 3.4305, 22.5385)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2385 #7C8523
analogous
#234B85 #2C2385 #5D2385
triadic
#2C2385 #852C23 #23852C
tetradic
#2C2385 #85234B #7C8523 #23855D
square
#2C2385 #85234B #7C8523 #23855D
split-complementary
#2C2385 #855D23 #4B8523
monochromatic
#0C0924 #1C1655 #2C2385 #3C30B5 #5D51D1

Accessibility & contrast

On white

12.45
#2C2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2385
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2385#FFFFFF#000000##FFFFFF
##2C23851.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2385;
/* rgb */ color: rgb(44, 35, 133);
/* oklch */ color: oklch(34.0% 0.156 278.3);
Tailwind
colors: {
  custom: {
    50: '#725fa9',
    500: '#2c2385',
    950: '#000000',
  },
}
SCSS
$custom: #2c2385;
$custom-light: #725fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2385",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 245.51,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34005,
    "c": 0.15555,
    "h": 278.3
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#2C2385
secondary
#ACB54F
accent
#E246D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2385

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

Preview Lab → · Contrast checker → · Palette generator →

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