#2F2BAC#2F2BAC

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

Color values

HEX#2F2BAC
RGBrgb(47, 43, 172)
HSLhsl(242, 60%, 42%)
HSVhsv(242, 75%, 67%)
CMYKcmyk(72.7%, 75%, 0%, 32.5%)
CIE-LABlab(27.60, 43.95, -67.53)
CIE-LCHlch(27.60, 80.57, 303.06°)
OKLaboklab(39.47% 0.0139 -0.1953)
OKLCHoklch(39.47% 0.196 274.1)
XYZxyz(9.4801, 5.3097, 39.5470)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BAC #A8AC2B
analogous
#2B68AC #2F2BAC #6F2BAC
triadic
#2F2BAC #AC2F2B #2BAC2F
tetradic
#2F2BAC #AC2B68 #A8AC2B #2BAC6F
square
#2F2BAC #AC2B68 #A8AC2B #2BAC6F
split-complementary
#2F2BAC #AC6F2B #68AC2B
monochromatic
#14134A #221F7B #2F2BAC #4844D0 #7875DC

Accessibility & contrast

On white

10.18
#2F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2BAC
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BAC#FFFFFF#000000##FFFFFF
##2F2BAC1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f2bac;
/* rgb */ color: rgb(47, 43, 172);
/* oklch */ color: oklch(39.5% 0.196 274.1);
Tailwind
colors: {
  custom: {
    50: '#7b66c6',
    500: '#2f2bac',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bac;
$custom-light: #7b66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bac",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 241.86,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.19581,
    "h": 274.1
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#2F2BAC
secondary
#C1C46F
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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