#2F329F#2F329F

#2F329F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.172 H 273.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2F329F
RGBrgb(47, 50, 159)
HSLhsl(238, 54%, 40%)
HSVhsv(238, 70%, 62%)
CMYKcmyk(70.4%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.81, 35.35, -59.32)
CIE-LCHlch(27.81, 69.06, 300.79°)
OKLaboklab(39.23% 0.0118 -0.1714)
OKLCHoklch(39.23% 0.172 273.9)
XYZxyz(8.5688, 5.3879, 33.3826)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F329F #9F9C2F
analogous
#2F6A9F #2F329F #642F9F
triadic
#2F329F #9F2F32 #329F2F
tetradic
#2F329F #9F2F6A #9F9C2F #2F9F64
square
#2F329F #9F2F6A #9F9C2F #2F9F64
split-complementary
#2F329F #9F642F #6A9F2F
monochromatic
#131441 #212370 #2F329F #4447C8 #7375D6

Accessibility & contrast

On white

10.11
#2F329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F329F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F329F#FFFFFF#000000##FFFFFF
##2F329F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f329f;
/* rgb */ color: rgb(47, 50, 159);
/* oklch */ color: oklch(39.2% 0.172 273.9);
Tailwind
colors: {
  custom: {
    50: '#786abc',
    500: '#2f329f',
    950: '#000000',
  },
}
SCSS
$custom: #2f329f;
$custom-light: #786abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f329f",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 238.393,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.17181,
    "h": 273.9
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#2F329F
secondary
#BDBB6D
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F329F

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

Preview Lab → · Contrast checker → · Palette generator →

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