#2F32B5#2F32B5

#2F32B5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.200 H 272.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2F32B5
RGBrgb(47, 50, 181)
HSLhsl(239, 59%, 45%)
HSVhsv(239, 74%, 71%)
CMYKcmyk(74%, 72.4%, 0%, 29%)
CIE-LABlab(29.96, 42.94, -69.01)
CIE-LCHlch(29.96, 81.28, 301.89°)
OKLaboklab(41.43% 0.0088 -0.1997)
OKLCHoklch(41.43% 0.2 272.5)
XYZxyz(10.6506, 6.2206, 44.3465)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32B5 #B5B22F
analogous
#2F75B5 #2F32B5 #6F2FB5
triadic
#2F32B5 #B52F32 #32B52F
tetradic
#2F32B5 #B52F75 #B5B22F #2FB56F
square
#2F32B5 #B52F75 #B5B22F #2FB56F
split-complementary
#2F32B5 #B56F2F #75B52F
monochromatic
#161754 #222584 #2F32B5 #5053D1 #8082DE

Accessibility & contrast

On white

9.36
#2F32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32B5
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32B5#FFFFFF#000000##FFFFFF
##2F32B51.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f32b5;
/* rgb */ color: rgb(47, 50, 181);
/* oklch */ color: oklch(41.4% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d6bcc',
    500: '#2f32b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f32b5;
$custom-light: #7d6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32b5",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 238.657,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.19986,
    "h": 272.5
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#2F32B5
secondary
#C7C579
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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