#2C28B6#2C28B6

#2C28B6 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.211 H 272.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2C28B6
RGBrgb(44, 40, 182)
HSLhsl(242, 64%, 44%)
HSVhsv(242, 78%, 71%)
CMYKcmyk(75.8%, 78%, 0%, 28.6%)
CIE-LABlab(27.92, 48.57, -72.97)
CIE-LCHlch(27.92, 87.66, 303.65°)
OKLaboklab(39.97% 0.0095 -0.2112)
OKLCHoklch(39.97% 0.211 272.6)
XYZxyz(10.2382, 5.4294, 44.7553)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C28B6 #B2B628
analogous
#286BB6 #2C28B6 #7328B6
triadic
#2C28B6 #B62C28 #28B62C
tetradic
#2C28B6 #B6286B #B2B628 #28B673
square
#2C28B6 #B6286B #B2B628 #28B673
split-complementary
#2C28B6 #B67328 #6BB628
monochromatic
#141252 #201D84 #2C28B6 #4945D6 #7A77E1

Accessibility & contrast

On white

10.07
#2C28B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C28B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C28B6
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C28B6#FFFFFF#000000##FFFFFF
##2C28B61.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c28b6;
/* rgb */ color: rgb(44, 40, 182);
/* oklch */ color: oklch(40.0% 0.211 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d65cd',
    500: '#2c28b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c28b6;
$custom-light: #7d65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c28b6",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 241.69,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.2114,
    "h": 272.6
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#2C28B6
secondary
#C6C971
accent
#E741E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C28B6

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

Preview Lab → · Contrast checker → · Palette generator →

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