#2C2FAA#2C2FAA

#2C2FAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.190 H 272.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2C2FAA
RGBrgb(44, 47, 170)
HSLhsl(239, 59%, 42%)
HSVhsv(239, 74%, 67%)
CMYKcmyk(74.1%, 72.4%, 0%, 33.3%)
CIE-LABlab(28.03, 40.67, -65.61)
CIE-LCHlch(28.03, 77.20, 301.79°)
OKLaboklab(39.67% 0.0086 -0.1898)
OKLCHoklch(39.67% 0.19 272.6)
XYZxyz(9.3085, 5.4698, 38.5876)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FAA #AAA72C
analogous
#2C6EAA #2C2FAA #682CAA
triadic
#2C2FAA #AA2C2F #2FAA2C
tetradic
#2C2FAA #AA2C6E #AAA72C #2CAA68
square
#2C2FAA #AA2C6E #AAA72C #2CAA68
split-complementary
#2C2FAA #AA682C #6EAA2C
monochromatic
#131449 #1F2279 #2C2FAA #4448CF #7578DB

Accessibility & contrast

On white

10.03
#2C2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2FAA
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FAA#FFFFFF#000000##FFFFFF
##2C2FAA1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2faa;
/* rgb */ color: rgb(44, 47, 170);
/* oklch */ color: oklch(39.7% 0.190 272.6);
Tailwind
colors: {
  custom: {
    50: '#7969c4',
    500: '#2c2faa',
    950: '#000000',
  },
}
SCSS
$custom: #2c2faa;
$custom-light: #7969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2faa",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 238.571,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39667,
    "c": 0.19003,
    "h": 272.6
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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