#2F329D#2F329D

#2F329D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.169 H 274.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2F329D
RGBrgb(47, 50, 157)
HSLhsl(238, 54%, 40%)
HSVhsv(238, 70%, 62%)
CMYKcmyk(70.1%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.63, 34.65, -58.41)
CIE-LCHlch(27.63, 67.91, 300.67°)
OKLaboklab(39.04% 0.0121 -0.1687)
OKLCHoklch(39.04% 0.169 274.1)
XYZxyz(8.3967, 5.3191, 32.4759)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F329D #9D9A2F
analogous
#2F699D #2F329D #632F9D
triadic
#2F329D #9D2F32 #329D2F
tetradic
#2F329D #9D2F69 #9D9A2F #2F9D63
square
#2F329D #9D2F69 #9D9A2F #2F9D63
split-complementary
#2F329D #9D632F #699D2F
monochromatic
#13143F #21236E #2F329D #4346C7 #7274D5

Accessibility & contrast

On white

10.17
#2F329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F329D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F329D#FFFFFF#000000##FFFFFF
##2F329D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f329d;
/* rgb */ color: rgb(47, 50, 157);
/* oklch */ color: oklch(39.0% 0.169 274.1);
Tailwind
colors: {
  custom: {
    50: '#776abb',
    500: '#2f329d',
    950: '#000000',
  },
}
SCSS
$custom: #2f329d;
$custom-light: #776abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f329d",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 238.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.16917,
    "h": 274.1
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F329D

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

Preview Lab → · Contrast checker → · Palette generator →

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