#2F32B7#2F32B7

#2F32B7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.6% C 0.202 H 272.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2F32B7
RGBrgb(47, 50, 183)
HSLhsl(239, 59%, 45%)
HSVhsv(239, 74%, 72%)
CMYKcmyk(74.3%, 72.7%, 0%, 28.2%)
CIE-LABlab(30.17, 43.62, -69.86)
CIE-LCHlch(30.17, 82.36, 301.98°)
OKLaboklab(41.63% 0.0085 -0.2022)
OKLCHoklch(41.63% 0.202 272.4)
XYZxyz(10.8573, 6.3033, 45.4350)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32B7 #B7B42F
analogous
#2F76B7 #2F32B7 #702FB7
triadic
#2F32B7 #B72F32 #32B72F
tetradic
#2F32B7 #B72F76 #B7B42F #2FB770
square
#2F32B7 #B72F76 #B7B42F #2FB770
split-complementary
#2F32B7 #B7702F #76B72F
monochromatic
#161756 #222586 #2F32B7 #5154D2 #8284DF

Accessibility & contrast

On white

9.29
#2F32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2F32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32B7
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32B7#FFFFFF#000000##FFFFFF
##2F32B71.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f32b7;
/* rgb */ color: rgb(47, 50, 183);
/* oklch */ color: oklch(41.6% 0.202 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d6bce',
    500: '#2f32b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f32b7;
$custom-light: #7d6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32b7",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 238.676,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.20234,
    "h": 272.4
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#2F32B7
secondary
#C8C67A
accent
#DF45E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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