#2F32D0#2F32D0

#2F32D0 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.232 H 271.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2F32D0
RGBrgb(47, 50, 208)
HSLhsl(239, 63%, 50%)
HSVhsv(239, 77%, 82%)
CMYKcmyk(77.4%, 76%, 0%, 18.4%)
CIE-LABlab(32.78, 51.85, -80.20)
CIE-LCHlch(32.78, 95.50, 302.88°)
OKLaboklab(44.27% 0.0043 -0.2322)
OKLCHoklch(44.27% 0.232 271)
XYZxyz(13.6942, 7.4381, 60.3762)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32D0 #D0CD2F
analogous
#2F82D0 #2F32D0 #7D2FD0
triadic
#2F32D0 #D02F32 #32D02F
tetradic
#2F32D0 #D02F82 #D0CD2F #2FD07D
square
#2F32D0 #D02F82 #D0CD2F #2FD07D
split-complementary
#2F32D0 #D07D2F #82D02F
monochromatic
#181A6C #24269E #2F32D0 #6163DB #9394E7

Accessibility & contrast

On white

8.44
#2F32D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F32D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32D0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32D0#FFFFFF#000000##FFFFFF
##2F32D01.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f32d0;
/* rgb */ color: rgb(47, 50, 208);
/* oklch */ color: oklch(44.3% 0.232 271.0);
Tailwind
colors: {
  custom: {
    50: '#836ce0',
    500: '#2f32d0',
    950: '#000000',
  },
}
SCSS
$custom: #2f32d0;
$custom-light: #836ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32d0",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 208
  },
  "hsl": {
    "h": 238.882,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.44267,
    "c": 0.23226,
    "h": 271
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#2F32D0
secondary
#D1D089
accent
#E342E6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2F32D0

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

Preview Lab → · Contrast checker → · Palette generator →

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