#2C2FB9#2C2FB9

#2C2FB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.209 H 271.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB9
RGBrgb(44, 47, 185)
HSLhsl(239, 62%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(76.2%, 74.6%, 0%, 27.5%)
CIE-LABlab(29.59, 45.74, -72.00)
CIE-LCHlch(29.59, 85.30, 302.43°)
OKLaboklab(41.24% 0.0062 -0.2084)
OKLCHoklch(41.24% 0.209 271.7)
XYZxyz(10.8092, 6.0701, 46.4915)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB9 #B9B62C
analogous
#2C76B9 #2C2FB9 #6F2CB9
triadic
#2C2FB9 #B92C2F #2FB92C
tetradic
#2C2FB9 #B92C76 #B9B62C #2CB96F
square
#2C2FB9 #B92C76 #B9B62C #2CB96F
split-complementary
#2C2FB9 #B96F2C #76B92C
monochromatic
#141656 #202288 #2C2FB9 #4D50D5 #7F81E1

Accessibility & contrast

On white

9.48
#2C2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB9
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB9#FFFFFF#000000##FFFFFF
##2C2FB91.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c2fb9;
/* rgb */ color: rgb(44, 47, 185);
/* oklch */ color: oklch(41.2% 0.209 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2c2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb9;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb9",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 238.723,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.20853,
    "h": 271.7
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#2C2FB9
secondary
#C9C778
accent
#E143E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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