#2F32AA#2F32AA

#2F32AA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.186 H 273.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2F32AA
RGBrgb(47, 50, 170)
HSLhsl(239, 57%, 43%)
HSVhsv(239, 72%, 67%)
CMYKcmyk(72.4%, 70.6%, 0%, 33.3%)
CIE-LABlab(28.87, 39.18, -64.23)
CIE-LCHlch(28.87, 75.24, 301.38°)
OKLaboklab(40.31% 0.0104 -0.1857)
OKLCHoklch(40.31% 0.186 273.2)
XYZxyz(9.5662, 5.7869, 38.6352)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32AA #AAA72F
analogous
#2F6FAA #2F32AA #6A2FAA
triadic
#2F32AA #AA2F32 #32AA2F
tetradic
#2F32AA #AA2F6F #AAA72F #2FAA6A
square
#2F32AA #AA2F6F #AAA72F #2FAA6A
split-complementary
#2F32AA #AA6A2F #6FAA2F
monochromatic
#14164A #22247A #2F32AA #494DCD #797CDA

Accessibility & contrast

On white

9.73
#2F32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32AA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32AA#FFFFFF#000000##FFFFFF
##2F32AA1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f32aa;
/* rgb */ color: rgb(47, 50, 170);
/* oklch */ color: oklch(40.3% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a6bc4',
    500: '#2f32aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f32aa;
$custom-light: #7a6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32aa",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 238.537,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.18604,
    "h": 273.2
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#2F32AA
secondary
#C2C072
accent
#DC48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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