#2F32C8#2F32C8

#2F32C8 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.223 H 271.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2F32C8
RGBrgb(47, 50, 200)
HSLhsl(239, 62%, 48%)
HSVhsv(239, 77%, 78%)
CMYKcmyk(76.5%, 75%, 0%, 21.6%)
CIE-LABlab(31.93, 49.26, -76.95)
CIE-LCHlch(31.93, 91.37, 302.62°)
OKLaboklab(43.41% 0.0057 -0.2228)
OKLCHoklch(43.41% 0.223 271.5)
XYZxyz(12.7347, 7.0543, 55.3228)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32C8 #C8C52F
analogous
#2F7EC8 #2F32C8 #792FC8
triadic
#2F32C8 #C82F32 #32C82F
tetradic
#2F32C8 #C82F7E #C8C52F #2FC879
square
#2F32C8 #C82F7E #C8C52F #2FC879
split-complementary
#2F32C8 #C8792F #7EC82F
monochromatic
#181965 #232696 #2F32C8 #5C5ED9 #8D8FE4

Accessibility & contrast

On white

8.71
#2F32C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F32C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32C8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32C8#FFFFFF#000000##FFFFFF
##2F32C81.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0043C5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f32c8;
/* rgb */ color: rgb(47, 50, 200);
/* oklch */ color: oklch(43.4% 0.223 271.5);
Tailwind
colors: {
  custom: {
    50: '#816cda',
    500: '#2f32c8',
    950: '#000000',
  },
}
SCSS
$custom: #2f32c8;
$custom-light: #816cda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32c8",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 238.824,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.22287,
    "h": 271.5
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#2F32C8
secondary
#CFCD84
accent
#E243E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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