#2F32A3#2F32A3

#2F32A3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.177 H 273.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2F32A3
RGBrgb(47, 50, 163)
HSLhsl(238, 55%, 41%)
HSVhsv(238, 71%, 64%)
CMYKcmyk(71.2%, 69.3%, 0%, 36.1%)
CIE-LABlab(28.19, 36.75, -61.12)
CIE-LCHlch(28.19, 71.32, 301.02°)
OKLaboklab(39.62% 0.0113 -0.1767)
OKLCHoklch(39.62% 0.177 273.7)
XYZxyz(8.9215, 5.5290, 35.2403)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32A3 #A3A02F
analogous
#2F6CA3 #2F32A3 #662FA3
triadic
#2F32A3 #A32F32 #32A32F
tetradic
#2F32A3 #A32F6C #A3A02F #2FA366
square
#2F32A3 #A32F6C #A3A02F #2FA366
split-complementary
#2F32A3 #A3662F #6CA32F
monochromatic
#141544 #212373 #2F32A3 #4649CA #7578D7

Accessibility & contrast

On white

9.97
#2F32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32A3
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32A3#FFFFFF#000000##FFFFFF
##2F32A31.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f32a3;
/* rgb */ color: rgb(47, 50, 163);
/* oklch */ color: oklch(39.6% 0.177 273.7);
Tailwind
colors: {
  custom: {
    50: '#786abf',
    500: '#2f32a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f32a3;
$custom-light: #786abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32a3",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 238.448,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.17703,
    "h": 273.7
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#2F32A3
secondary
#BFBD6F
accent
#DB49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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