#2F32B6#2F32B6

#2F32B6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.5% C 0.201 H 272.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2F32B6
RGBrgb(47, 50, 182)
HSLhsl(239, 59%, 45%)
HSVhsv(239, 74%, 71%)
CMYKcmyk(74.2%, 72.5%, 0%, 28.6%)
CIE-LABlab(30.06, 43.28, -69.43)
CIE-LCHlch(30.06, 81.82, 301.94°)
OKLaboklab(41.53% 0.0086 -0.2009)
OKLCHoklch(41.53% 0.201 272.5)
XYZxyz(10.7535, 6.2618, 44.8888)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32B6 #B6B32F
analogous
#2F75B6 #2F32B6 #702FB6
triadic
#2F32B6 #B62F32 #32B62F
tetradic
#2F32B6 #B62F75 #B6B32F #2FB670
square
#2F32B6 #B62F75 #B6B32F #2FB670
split-complementary
#2F32B6 #B6702F #75B62F
monochromatic
#161755 #222585 #2F32B6 #5053D2 #8183DE

Accessibility & contrast

On white

9.32
#2F32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32B6
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32B6#FFFFFF#000000##FFFFFF
##2F32B61.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f32b6;
/* rgb */ color: rgb(47, 50, 182);
/* oklch */ color: oklch(41.5% 0.201 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d6bcd',
    500: '#2f32b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f32b6;
$custom-light: #7d6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32b6",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 238.667,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.2011,
    "h": 272.5
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#2F32B6
secondary
#C7C679
accent
#DF46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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