#2F329B#2F329B

#2F329B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.167 H 274.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2F329B
RGBrgb(47, 50, 155)
HSLhsl(238, 53%, 40%)
HSVhsv(238, 70%, 61%)
CMYKcmyk(69.7%, 67.7%, 0%, 39.2%)
CIE-LABlab(27.44, 33.94, -57.50)
CIE-LCHlch(27.44, 66.77, 300.55°)
OKLaboklab(38.85% 0.0123 -0.1661)
OKLCHoklch(38.85% 0.167 274.2)
XYZxyz(8.2273, 5.2513, 31.5840)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F329B #9B982F
analogous
#2F689B #2F329B #622F9B
triadic
#2F329B #9B2F32 #329B2F
tetradic
#2F329B #9B2F68 #9B982F #2F9B62
square
#2F329B #9B2F68 #9B982F #2F9B62
split-complementary
#2F329B #9B622F #689B2F
monochromatic
#13143D #21236C #2F329B #4245C6 #7173D4

Accessibility & contrast

On white

10.24
#2F329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F329B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F329B#FFFFFF#000000##FFFFFF
##2F329B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f329b;
/* rgb */ color: rgb(47, 50, 155);
/* oklch */ color: oklch(38.8% 0.167 274.2);
Tailwind
colors: {
  custom: {
    50: '#776ab9',
    500: '#2f329b',
    950: '#000000',
  },
}
SCSS
$custom: #2f329b;
$custom-light: #776ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f329b",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 238.333,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.16651,
    "h": 274.2
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F329B

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

Preview Lab → · Contrast checker → · Palette generator →

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