#2F2CAC#2F2CAC

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

Color values

HEX#2F2CAC
RGBrgb(47, 44, 172)
HSLhsl(241, 59%, 42%)
HSVhsv(241, 74%, 67%)
CMYKcmyk(72.7%, 74.4%, 0%, 32.5%)
CIE-LABlab(27.80, 43.39, -67.19)
CIE-LCHlch(27.80, 79.98, 302.85°)
OKLaboklab(39.61% 0.0134 -0.1944)
OKLCHoklch(39.61% 0.195 273.9)
XYZxyz(9.5169, 5.3833, 39.5593)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CAC #A9AC2C
analogous
#2C69AC #2F2CAC #6F2CAC
triadic
#2F2CAC #AC2F2C #2CAC2F
tetradic
#2F2CAC #AC2C69 #A9AC2C #2CAC6F
square
#2F2CAC #AC2C69 #A9AC2C #2CAC6F
split-complementary
#2F2CAC #AC6F2C #69AC2C
monochromatic
#14134B #22207B #2F2CAC #4946D0 #7976DC

Accessibility & contrast

On white

10.11
#2F2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CAC
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CAC#FFFFFF#000000##FFFFFF
##2F2CAC1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f2cac;
/* rgb */ color: rgb(47, 44, 172);
/* oklch */ color: oklch(39.6% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b67c6',
    500: '#2f2cac',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cac;
$custom-light: #7b67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cac",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 241.406,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39611,
    "c": 0.19482,
    "h": 273.9
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#2F2CAC
secondary
#C2C470
accent
#E245DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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