#2C2FB4#2C2FB4

#2C2FB4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.7% C 0.202 H 272.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB4
RGBrgb(44, 47, 180)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(75.6%, 73.9%, 0%, 29.4%)
CIE-LABlab(29.06, 44.07, -69.90)
CIE-LCHlch(29.06, 82.63, 302.23°)
OKLaboklab(40.71% 0.007 -0.2023)
OKLCHoklch(40.71% 0.202 272)
XYZxyz(10.2907, 5.8627, 43.7604)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB4 #B4B12C
analogous
#2C73B4 #2C2FB4 #6D2CB4
triadic
#2C2FB4 #B42C2F #2FB42C
tetradic
#2C2FB4 #B42C73 #B4B12C #2CB46D
square
#2C2FB4 #B42C73 #B4B12C #2CB46D
split-complementary
#2C2FB4 #B46D2C #73B42C
monochromatic
#141552 #202283 #2C2FB4 #4A4DD3 #7C7EDF

Accessibility & contrast

On white

9.66
#2C2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB4
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB4#FFFFFF#000000##FFFFFF
##2C2FB41.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2fb4;
/* rgb */ color: rgb(44, 47, 180);
/* oklch */ color: oklch(40.7% 0.202 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c69cc',
    500: '#2c2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb4;
$custom-light: #7c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb4",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 238.676,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.20244,
    "h": 272
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#2C2FB4
secondary
#C7C575
accent
#E044E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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