#2F329C#2F329C

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

Color values

HEX#2F329C
RGBrgb(47, 50, 156)
HSLhsl(238, 54%, 40%)
HSVhsv(238, 70%, 61%)
CMYKcmyk(69.9%, 67.9%, 0%, 38.8%)
CIE-LABlab(27.53, 34.29, -57.96)
CIE-LCHlch(27.53, 67.34, 300.61°)
OKLaboklab(38.94% 0.0122 -0.1674)
OKLCHoklch(38.94% 0.168 274.2)
XYZxyz(8.3116, 5.2851, 32.0281)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F329C #9C992F
analogous
#2F689C #2F329C #632F9C
triadic
#2F329C #9C2F32 #329C2F
tetradic
#2F329C #9C2F68 #9C992F #2F9C63
square
#2F329C #9C2F68 #9C992F #2F9C63
split-complementary
#2F329C #9C632F #689C2F
monochromatic
#13143E #21236D #2F329C #4246C6 #7174D4

Accessibility & contrast

On white

10.21
#2F329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F329C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F329C#FFFFFF#000000##FFFFFF
##2F329C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f329c;
/* rgb */ color: rgb(47, 50, 156);
/* oklch */ color: oklch(38.9% 0.168 274.2);
Tailwind
colors: {
  custom: {
    50: '#776aba',
    500: '#2f329c',
    950: '#000000',
  },
}
SCSS
$custom: #2f329c;
$custom-light: #776aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f329c",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 238.349,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38942,
    "c": 0.16784,
    "h": 274.2
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F329C

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

Preview Lab → · Contrast checker → · Palette generator →

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