#2F2AC0#2F2AC0

#2F2AC0 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.221 H 272.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F2AC0
RGBrgb(47, 42, 192)
HSLhsl(242, 64%, 46%)
HSVhsv(242, 78%, 75%)
CMYKcmyk(75.5%, 78.1%, 0%, 24.7%)
CIE-LABlab(29.58, 50.94, -76.16)
CIE-LCHlch(29.58, 91.62, 303.78°)
OKLaboklab(41.5% 0.0102 -0.2204)
OKLCHoklch(41.5% 0.221 272.6)
XYZxyz(11.5115, 6.0648, 50.4229)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2AC0 #BBC02A
analogous
#2A70C0 #2F2AC0 #7A2AC0
triadic
#2F2AC0 #C02F2A #2AC02F
tetradic
#2F2AC0 #C02A70 #BBC02A #2AC07A
square
#2F2AC0 #C02A70 #BBC02A #2AC07A
split-complementary
#2F2AC0 #C07A2A #70C02A
monochromatic
#16145C #231F8E #2F2AC0 #534FD8 #8481E3

Accessibility & contrast

On white

9.49
#2F2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2AC0
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2AC0#FFFFFF#000000##FFFFFF
##2F2AC01.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#003EBD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f2ac0;
/* rgb */ color: rgb(47, 42, 192);
/* oklch */ color: oklch(41.5% 0.221 272.6);
Tailwind
colors: {
  custom: {
    50: '#8067d4',
    500: '#2f2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ac0;
$custom-light: #8067d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ac0",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 242,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.22062,
    "h": 272.6
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#2F2AC0
secondary
#C9CC7A
accent
#E741E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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