#2F2CCD#2F2CCD

#2F2CCD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.234 H 271.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2F2CCD
RGBrgb(47, 44, 205)
HSLhsl(241, 65%, 49%)
HSVhsv(241, 79%, 80%)
CMYKcmyk(77.1%, 78.5%, 0%, 19.6%)
CIE-LABlab(31.38, 54.00, -80.79)
CIE-LCHlch(31.38, 97.17, 303.76°)
OKLaboklab(43.18% 0.0068 -0.2339)
OKLCHoklch(43.18% 0.234 271.7)
XYZxyz(13.0887, 6.8120, 58.3708)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CCD #CACD2C
analogous
#2C7ACD #2F2CCD #802CCD
triadic
#2F2CCD #CD2F2C #2CCD2F
tetradic
#2F2CCD #CD2C7A #CACD2C #2CCD80
square
#2F2CCD #CD2C7A #CACD2C #2CCD80
split-complementary
#2F2CCD #CD802C #7ACD2C
monochromatic
#181668 #23219B #2F2CCD #5D5BDC #8F8DE7

Accessibility & contrast

On white

8.89
#2F2CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F2CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CCD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CCD#FFFFFF#000000##FFFFFF
##2F2CCD1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D1
Deuteranopia (green-blind)
#0042CA
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f2ccd;
/* rgb */ color: rgb(47, 44, 205);
/* oklch */ color: oklch(43.2% 0.234 271.7);
Tailwind
colors: {
  custom: {
    50: '#8369de',
    500: '#2f2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ccd;
$custom-light: #8369de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ccd",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 241.118,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.23396,
    "h": 271.7
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#2F2CCD
secondary
#CFD184
accent
#E840E5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #2F2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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