#2F329E#2F329E

#2F329E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.170 H 274.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2F329E
RGBrgb(47, 50, 158)
HSLhsl(238, 54%, 40%)
HSVhsv(238, 70%, 62%)
CMYKcmyk(70.3%, 68.4%, 0%, 38%)
CIE-LABlab(27.72, 35.00, -58.87)
CIE-LCHlch(27.72, 68.49, 300.73°)
OKLaboklab(39.14% 0.0119 -0.1701)
OKLCHoklch(39.14% 0.17 274)
XYZxyz(8.4824, 5.3534, 32.9274)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F329E #9E9B2F
analogous
#2F6A9E #2F329E #632F9E
triadic
#2F329E #9E2F32 #329E2F
tetradic
#2F329E #9E2F6A #9E9B2F #2F9E63
square
#2F329E #9E2F6A #9E9B2F #2F9E63
split-complementary
#2F329E #9E632F #6A9E2F
monochromatic
#131440 #21236F #2F329E #4347C7 #7275D5

Accessibility & contrast

On white

10.14
#2F329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F329E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F329E#FFFFFF#000000##FFFFFF
##2F329E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f329e;
/* rgb */ color: rgb(47, 50, 158);
/* oklch */ color: oklch(39.1% 0.170 274.0);
Tailwind
colors: {
  custom: {
    50: '#776abc',
    500: '#2f329e',
    950: '#000000',
  },
}
SCSS
$custom: #2f329e;
$custom-light: #776abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f329e",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 238.378,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.17049,
    "h": 274
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#2F329E
secondary
#BDBB6C
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F329E

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

Preview Lab → · Contrast checker → · Palette generator →

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