#2F32BE#2F32BE

#2F32BE is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.211 H 272.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F32BE
RGBrgb(47, 50, 190)
HSLhsl(239, 60%, 46%)
HSVhsv(239, 75%, 75%)
CMYKcmyk(75.3%, 73.7%, 0%, 25.5%)
CIE-LABlab(30.88, 45.96, -72.81)
CIE-LCHlch(30.88, 86.11, 302.26°)
OKLaboklab(42.36% 0.0074 -0.2108)
OKLCHoklch(42.36% 0.211 272)
XYZxyz(11.6040, 6.6020, 49.3680)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32BE #BEBB2F
analogous
#2F7ABE #2F32BE #742FBE
triadic
#2F32BE #BE2F32 #32BE2F
tetradic
#2F32BE #BE2F7A #BEBB2F #2FBE74
square
#2F32BE #BE2F7A #BEBB2F #2FBE74
split-complementary
#2F32BE #BE742F #7ABE2F
monochromatic
#17185C #23258D #2F32BE #5558D5 #8688E1

Accessibility & contrast

On white

9.05
#2F32BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F32BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32BE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32BE#FFFFFF#000000##FFFFFF
##2F32BE1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0042BC
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f32be;
/* rgb */ color: rgb(47, 50, 190);
/* oklch */ color: oklch(42.4% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f6bd3',
    500: '#2f32be',
    950: '#000000',
  },
}
SCSS
$custom: #2f32be;
$custom-light: #7f6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32be",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 238.741,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.21089,
    "h": 272
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#2F32BE
secondary
#CBC97E
accent
#E044E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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