#2F20AC#2F20AC

#2F20AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.206 H 275.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2F20AC
RGBrgb(47, 32, 172)
HSLhsl(246, 69%, 40%)
HSVhsv(246, 81%, 67%)
CMYKcmyk(72.7%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.61, 49.66, -70.82)
CIE-LCHlch(25.61, 86.50, 305.04°)
OKLaboklab(38.07% 0.0187 -0.2048)
OKLCHoklch(38.07% 0.206 275.2)
XYZxyz(9.1327, 4.6150, 39.4312)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F20AC #9DAC20
analogous
#2057AC #2F20AC #7520AC
triadic
#2F20AC #AC2F20 #20AC2F
tetradic
#2F20AC #AC2057 #9DAC20 #20AC75
square
#2F20AC #AC2057 #9DAC20 #20AC75
split-complementary
#2F20AC #AC7520 #57AC20
monochromatic
#130D45 #211678 #2F20AC #4331D9 #7264E2

Accessibility & contrast

On white

10.92
#2F20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F20AC
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F20AC#FFFFFF#000000##FFFFFF
##2F20AC1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f20ac;
/* rgb */ color: rgb(47, 32, 172);
/* oklch */ color: oklch(38.1% 0.206 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c60c6',
    500: '#2f20ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f20ac;
$custom-light: #7c60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f20ac",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 246.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.20561,
    "h": 275.2
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#2F20AC
secondary
#BCC760
accent
#EB3CD9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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