#2F2CAA#2F2CAA

#2F2CAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.192 H 274.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2F2CAA
RGBrgb(47, 44, 170)
HSLhsl(241, 59%, 42%)
HSVhsv(241, 74%, 67%)
CMYKcmyk(72.4%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.59, 42.72, -66.33)
CIE-LCHlch(27.59, 78.90, 302.78°)
OKLaboklab(39.4% 0.0138 -0.1919)
OKLCHoklch(39.4% 0.192 274.1)
XYZxyz(9.3263, 5.3071, 38.5553)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CAA #A7AA2C
analogous
#2C68AA #2F2CAA #6E2CAA
triadic
#2F2CAA #AA2F2C #2CAA2F
tetradic
#2F2CAA #AA2C68 #A7AA2C #2CAA6E
square
#2F2CAA #AA2C68 #A7AA2C #2CAA6E
split-complementary
#2F2CAA #AA6E2C #68AA2C
monochromatic
#141349 #221F79 #2F2CAA #4844CF #7875DB

Accessibility & contrast

On white

10.19
#2F2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CAA
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CAA#FFFFFF#000000##FFFFFF
##2F2CAA1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f2caa;
/* rgb */ color: rgb(47, 44, 170);
/* oklch */ color: oklch(39.4% 0.192 274.1);
Tailwind
colors: {
  custom: {
    50: '#7b67c5',
    500: '#2f2caa',
    950: '#000000',
  },
}
SCSS
$custom: #2f2caa;
$custom-light: #7b67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2caa",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 241.429,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.19235,
    "h": 274.1
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#2F2CAA
secondary
#C1C36F
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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