#2F329A#2F329A

#2F329A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.165 H 274.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2F329A
RGBrgb(47, 50, 154)
HSLhsl(238, 53%, 39%)
HSVhsv(238, 69%, 60%)
CMYKcmyk(69.5%, 67.5%, 0%, 39.6%)
CIE-LABlab(27.35, 33.59, -57.04)
CIE-LCHlch(27.35, 66.19, 300.49°)
OKLaboklab(38.75% 0.0124 -0.1647)
OKLCHoklch(38.75% 0.165 274.3)
XYZxyz(8.1437, 5.2179, 31.1436)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F329A #9A972F
analogous
#2F689A #2F329A #622F9A
triadic
#2F329A #9A2F32 #329A2F
tetradic
#2F329A #9A2F68 #9A972F #2F9A62
square
#2F329A #9A2F68 #9A972F #2F9A62
split-complementary
#2F329A #9A622F #689A2F
monochromatic
#12143C #21236B #2F329A #4145C5 #7073D3

Accessibility & contrast

On white

10.27
#2F329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F329A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F329A#FFFFFF#000000##FFFFFF
##2F329A1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f329a;
/* rgb */ color: rgb(47, 50, 154);
/* oklch */ color: oklch(38.8% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#766ab9',
    500: '#2f329a',
    950: '#000000',
  },
}
SCSS
$custom: #2f329a;
$custom-light: #766ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f329a",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 238.318,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.16518,
    "h": 274.3
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#2F329A
secondary
#BBB96A
accent
#D94BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F329A

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

Preview Lab → · Contrast checker → · Palette generator →

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