#2C2FBF#2C2FBF

#2C2FBF is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.216 H 271.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2C2FBF
RGBrgb(44, 47, 191)
HSLhsl(239, 63%, 46%)
HSVhsv(239, 77%, 75%)
CMYKcmyk(77%, 75.4%, 0%, 25.1%)
CIE-LABlab(30.23, 47.73, -74.49)
CIE-LCHlch(30.23, 88.47, 302.65°)
OKLaboklab(41.88% 0.0051 -0.2157)
OKLCHoklch(41.88% 0.216 271.4)
XYZxyz(11.4560, 6.3288, 49.8979)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FBF #BFBC2C
analogous
#2C78BF #2C2FBF #732CBF
triadic
#2C2FBF #BF2C2F #2FBF2C
tetradic
#2C2FBF #BF2C78 #BFBC2C #2CBF73
square
#2C2FBF #BF2C78 #BFBC2C #2CBF73
split-complementary
#2C2FBF #BF732C #78BF2C
monochromatic
#15175C #21238D #2C2FBF #5154D7 #8385E2

Accessibility & contrast

On white

9.27
#2C2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C2FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FBF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FBF#FFFFFF#000000##FFFFFF
##2C2FBF1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c2fbf;
/* rgb */ color: rgb(44, 47, 191);
/* oklch */ color: oklch(41.9% 0.216 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e6ad4',
    500: '#2c2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fbf;
$custom-light: #7e6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fbf",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 238.776,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.21574,
    "h": 271.4
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#2C2FBF
secondary
#CCCA7B
accent
#E242E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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