#2C2268#2C2268

#2C2268 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.0% C 0.117 H 283.7°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#2C2268
RGBrgb(44, 34, 104)
HSLhsl(249, 51%, 27%)
HSVhsv(249, 67%, 41%)
CMYKcmyk(57.7%, 67.3%, 0%, 59.2%)
CIE-LABlab(18.71, 25.87, -39.63)
CIE-LCHlch(18.71, 47.32, 303.14°)
OKLaboklab(31.01% 0.0278 -0.1138)
OKLCHoklch(31.01% 0.117 283.7)
XYZxyz(4.1087, 2.6788, 13.3946)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2268 #5E6822
analogous
#223B68 #2C2268 #4F2268
triadic
#2C2268 #682C22 #22682C
tetradic
#2C2268 #68223B #5E6822 #22684F
square
#2C2268 #68223B #5E6822 #22684F
split-complementary
#2C2268 #684F22 #3B6822
monochromatic
#0A0817 #18133A #2C2268 #403196 #5543C2

Accessibility & contrast

On white

13.67
#2C2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2268
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2268#FFFFFF#000000##FFFFFF
##2C22681.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#113341
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2268;
/* rgb */ color: rgb(44, 34, 104);
/* oklch */ color: oklch(31.0% 0.117 283.7);
Tailwind
colors: {
  custom: {
    50: '#6c5d94',
    500: '#2c2268',
    950: '#000000',
  },
}
SCSS
$custom: #2c2268;
$custom-light: #6c5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2268",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 248.571,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31012,
    "c": 0.11713,
    "h": 283.7
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#2C2268
secondary
#909C4A
accent
#DA4EC6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C2268

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

Preview Lab → · Contrast checker → · Palette generator →

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