#2C28B0#2C28B0

#2C28B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.204 H 273.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2C28B0
RGBrgb(44, 40, 176)
HSLhsl(242, 63%, 42%)
HSVhsv(242, 77%, 69%)
CMYKcmyk(75%, 77.3%, 0%, 31%)
CIE-LABlab(27.26, 46.64, -70.49)
CIE-LCHlch(27.26, 84.52, 303.49°)
OKLaboklab(39.31% 0.0107 -0.204)
OKLCHoklch(39.31% 0.204 273)
XYZxyz(9.6313, 5.1866, 41.5594)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C28B0 #ACB028
analogous
#2868B0 #2C28B0 #7028B0
triadic
#2C28B0 #B02C28 #28B02C
tetradic
#2C28B0 #B02868 #ACB028 #28B070
square
#2C28B0 #B02868 #ACB028 #28B070
split-complementary
#2C28B0 #B07028 #68B028
monochromatic
#13114C #201D7E #2C28B0 #4641D4 #7673DF

Accessibility & contrast

On white

10.31
#2C28B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C28B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C28B0
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C28B0#FFFFFF#000000##FFFFFF
##2C28B01.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c28b0;
/* rgb */ color: rgb(44, 40, 176);
/* oklch */ color: oklch(39.3% 0.204 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b65c9',
    500: '#2c28b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c28b0;
$custom-light: #7b65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c28b0",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 241.765,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.20426,
    "h": 273
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#2C28B0
secondary
#C4C66D
accent
#E642E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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