#2F32AE#2F32AE

#2F32AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.191 H 273.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2F32AE
RGBrgb(47, 50, 174)
HSLhsl(239, 57%, 43%)
HSVhsv(239, 73%, 68%)
CMYKcmyk(73%, 71.3%, 0%, 31.8%)
CIE-LABlab(29.26, 40.56, -65.98)
CIE-LCHlch(29.26, 77.45, 301.58°)
OKLaboklab(40.72% 0.0099 -0.1909)
OKLCHoklch(40.72% 0.191 273)
XYZxyz(9.9503, 5.9405, 40.6584)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32AE #AEAB2F
analogous
#2F71AE #2F32AE #6B2FAE
triadic
#2F32AE #AE2F32 #32AE2F
tetradic
#2F32AE #AE2F71 #AEAB2F #2FAE6B
square
#2F32AE #AE2F71 #AEAB2F #2FAE6B
split-complementary
#2F32AE #AE6B2F #71AE2F
monochromatic
#15164E #22247E #2F32AE #4C4FCF #7C7EDC

Accessibility & contrast

On white

9.60
#2F32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32AE
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32AE#FFFFFF#000000##FFFFFF
##2F32AE1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f32ae;
/* rgb */ color: rgb(47, 50, 174);
/* oklch */ color: oklch(40.7% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b6bc7',
    500: '#2f32ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f32ae;
$custom-light: #7b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32ae",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 238.583,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.19111,
    "h": 273
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#2F32AE
secondary
#C4C275
accent
#DD47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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