#2F32CF#2F32CF

#2F32CF is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.231 H 271.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2F32CF
RGBrgb(47, 50, 207)
HSLhsl(239, 63%, 50%)
HSVhsv(239, 77%, 81%)
CMYKcmyk(77.3%, 75.8%, 0%, 18.8%)
CIE-LABlab(32.68, 51.52, -79.80)
CIE-LCHlch(32.68, 94.99, 302.85°)
OKLaboklab(44.16% 0.0044 -0.2311)
OKLCHoklch(44.16% 0.231 271.1)
XYZxyz(13.5716, 7.3890, 59.7303)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32CF #CFCC2F
analogous
#2F82CF #2F32CF #7C2FCF
triadic
#2F32CF #CF2F32 #32CF2F
tetradic
#2F32CF #CF2F82 #CFCC2F #2FCF7C
square
#2F32CF #CF2F82 #CFCC2F #2FCF7C
split-complementary
#2F32CF #CF7C2F #82CF2F
monochromatic
#181A6B #24269D #2F32CF #6063DB #9294E6

Accessibility & contrast

On white

8.47
#2F32CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F32CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32CF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32CF#FFFFFF#000000##FFFFFF
##2F32CF1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D3
Deuteranopia (green-blind)
#0045CC
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f32cf;
/* rgb */ color: rgb(47, 50, 207);
/* oklch */ color: oklch(44.2% 0.231 271.1);
Tailwind
colors: {
  custom: {
    50: '#836cdf',
    500: '#2f32cf',
    950: '#000000',
  },
}
SCSS
$custom: #2f32cf;
$custom-light: #836cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32cf",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 238.875,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.2311,
    "h": 271.1
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#2F32CF
secondary
#D1D089
accent
#E342E6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2F32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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