#2C2FB5#2C2FB5

#2C2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.204 H 271.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB5
RGBrgb(44, 47, 181)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(75.7%, 74%, 0%, 29%)
CIE-LABlab(29.17, 44.41, -70.32)
CIE-LCHlch(29.17, 83.17, 302.27°)
OKLaboklab(40.82% 0.0068 -0.2035)
OKLCHoklch(40.82% 0.204 271.9)
XYZxyz(10.3929, 5.9036, 44.2989)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB5 #B5B22C
analogous
#2C74B5 #2C2FB5 #6E2CB5
triadic
#2C2FB5 #B52C2F #2FB52C
tetradic
#2C2FB5 #B52C74 #B5B22C #2CB56E
square
#2C2FB5 #B52C74 #B5B22C #2CB56E
split-complementary
#2C2FB5 #B56E2C #74B52C
monochromatic
#141553 #202284 #2C2FB5 #4B4ED3 #7C7EDF

Accessibility & contrast

On white

9.63
#2C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB5
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB5#FFFFFF#000000##FFFFFF
##2C2FB51.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2fb5;
/* rgb */ color: rgb(44, 47, 181);
/* oklch */ color: oklch(40.8% 0.204 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c69cc',
    500: '#2c2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb5;
$custom-light: #7c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb5",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 238.686,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.20366,
    "h": 271.9
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#2C2FB5
secondary
#C8C675
accent
#E144E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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