#2F32BA#2F32BA

#2F32BA is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.206 H 272.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2F32BA
RGBrgb(47, 50, 186)
HSLhsl(239, 60%, 46%)
HSVhsv(239, 75%, 73%)
CMYKcmyk(74.7%, 73.1%, 0%, 27.1%)
CIE-LABlab(30.47, 44.62, -71.13)
CIE-LCHlch(30.47, 83.97, 302.10°)
OKLaboklab(41.94% 0.008 -0.2059)
OKLCHoklch(41.94% 0.206 272.2)
XYZxyz(11.1728, 6.4295, 47.0970)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32BA #BAB72F
analogous
#2F77BA #2F32BA #712FBA
triadic
#2F32BA #BA2F32 #32BA2F
tetradic
#2F32BA #BA2F77 #BAB72F #2FBA71
square
#2F32BA #BA2F77 #BAB72F #2FBA71
split-complementary
#2F32BA #BA712F #77BA2F
monochromatic
#161858 #232589 #2F32BA #5356D3 #8486E0

Accessibility & contrast

On white

9.19
#2F32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32BA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32BA#FFFFFF#000000##FFFFFF
##2F32BA1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f32ba;
/* rgb */ color: rgb(47, 50, 186);
/* oklch */ color: oklch(41.9% 0.206 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e6bd0',
    500: '#2f32ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f32ba;
$custom-light: #7e6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32ba",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 238.705,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.20602,
    "h": 272.2
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#2F32BA
secondary
#C9C77C
accent
#DF45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #2F32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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