#2C2288#2C2288

#2C2288 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.161 H 278.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2C2288
RGBrgb(44, 34, 136)
HSLhsl(246, 60%, 33%)
HSVhsv(246, 75%, 53%)
CMYKcmyk(67.6%, 75%, 0%, 46.7%)
CIE-LABlab(21.79, 36.80, -55.05)
CIE-LCHlch(21.79, 66.22, 303.76°)
OKLaboklab(34.17% 0.0225 -0.159)
OKLCHoklch(34.17% 0.161 278)
XYZxyz(6.0532, 3.4566, 23.6360)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2288 #7E8822
analogous
#224B88 #2C2288 #5F2288
triadic
#2C2288 #882C22 #22882C
tetradic
#2C2288 #88224B #7E8822 #22885F
square
#2C2288 #88224B #7E8822 #22885F
split-complementary
#2C2288 #885F22 #4B8822
monochromatic
#0C0A26 #1C1657 #2C2288 #3C2EB9 #5E51D3

Accessibility & contrast

On white

12.42
#2C2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2288
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2288#FFFFFF#000000##FFFFFF
##2C22881.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2288;
/* rgb */ color: rgb(44, 34, 136);
/* oklch */ color: oklch(34.2% 0.161 278.0);
Tailwind
colors: {
  custom: {
    50: '#735fac',
    500: '#2c2288',
    950: '#000000',
  },
}
SCSS
$custom: #2c2288;
$custom-light: #735fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2288",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 245.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34165,
    "c": 0.16055,
    "h": 278
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#2C2288
secondary
#ADB74F
accent
#E345D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2288

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

Preview Lab → · Contrast checker → · Palette generator →

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