#2C2FA9#2C2FA9

#2C2FA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.189 H 272.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2C2FA9
RGBrgb(44, 47, 169)
HSLhsl(239, 59%, 42%)
HSVhsv(239, 74%, 66%)
CMYKcmyk(74%, 72.2%, 0%, 33.7%)
CIE-LABlab(27.93, 40.33, -65.18)
CIE-LCHlch(27.93, 76.65, 301.75°)
OKLaboklab(39.56% 0.0088 -0.1886)
OKLCHoklch(39.56% 0.189 272.7)
XYZxyz(9.2142, 5.4321, 38.0913)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FA9 #A9A62C
analogous
#2C6EA9 #2C2FA9 #682CA9
triadic
#2C2FA9 #A92C2F #2FA92C
tetradic
#2C2FA9 #A92C6E #A9A62C #2CA968
square
#2C2FA9 #A92C6E #A9A62C #2CA968
split-complementary
#2C2FA9 #A9682C #6EA92C
monochromatic
#131448 #1F2178 #2C2FA9 #4447CE #7477DB

Accessibility & contrast

On white

10.06
#2C2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FA9
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FA9#FFFFFF#000000##FFFFFF
##2C2FA91.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2fa9;
/* rgb */ color: rgb(44, 47, 169);
/* oklch */ color: oklch(39.6% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#7969c4',
    500: '#2c2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fa9;
$custom-light: #7969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fa9",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 238.56,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.18878,
    "h": 272.7
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#2C2FA9
secondary
#C3C16E
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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