#2C2FB7#2C2FB7

#2C2FB7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.206 H 271.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB7
RGBrgb(44, 47, 183)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 72%)
CMYKcmyk(76%, 74.3%, 0%, 28.2%)
CIE-LABlab(29.38, 45.07, -71.16)
CIE-LCHlch(29.38, 84.24, 302.35°)
OKLaboklab(41.03% 0.0065 -0.206)
OKLCHoklch(41.03% 0.206 271.8)
XYZxyz(10.5996, 5.9863, 45.3874)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB7 #B7B42C
analogous
#2C75B7 #2C2FB7 #6F2CB7
triadic
#2C2FB7 #B72C2F #2FB72C
tetradic
#2C2FB7 #B72C75 #B7B42C #2CB76F
square
#2C2FB7 #B72C75 #B7B42C #2CB76F
split-complementary
#2C2FB7 #B76F2C #75B72C
monochromatic
#141654 #202286 #2C2FB7 #4C4FD4 #7E80E0

Accessibility & contrast

On white

9.56
#2C2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB7
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB7#FFFFFF#000000##FFFFFF
##2C2FB71.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2fb7;
/* rgb */ color: rgb(44, 47, 183);
/* oklch */ color: oklch(41.0% 0.206 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c69ce',
    500: '#2c2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb7;
$custom-light: #7c69ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb7",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 238.705,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.2061,
    "h": 271.8
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#2C2FB7
secondary
#C8C776
accent
#E143E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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