#2F3684#2F3684

#2F3684 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.129 H 274.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2F3684
RGBrgb(47, 54, 132)
HSLhsl(235, 47%, 35%)
HSVhsv(235, 64%, 52%)
CMYKcmyk(64.4%, 59.1%, 0%, 48.2%)
CIE-LABlab(26.47, 23.01, -44.88)
CIE-LCHlch(26.47, 50.44, 297.15°)
OKLaboklab(37.52% 0.01 -0.129)
OKLCHoklch(37.52% 0.129 274.4)
XYZxyz(6.6549, 4.9081, 22.4220)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3684 #847D2F
analogous
#2F6084 #2F3684 #532F84
triadic
#2F3684 #842F36 #36842F
tetradic
#2F3684 #842F60 #847D2F #2F8453
square
#2F3684 #842F60 #847D2F #2F8453
split-complementary
#2F3684 #84532F #60842F
monochromatic
#0F112A #1F2457 #2F3684 #3F48B1 #656DC8

Accessibility & contrast

On white

10.60
#2F3684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F3684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3684
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3684#FFFFFF#000000##FFFFFF
##2F36841.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3684;
/* rgb */ color: rgb(47, 54, 132);
/* oklch */ color: oklch(37.5% 0.129 274.4);
Tailwind
colors: {
  custom: {
    50: '#716da8',
    500: '#2f3684',
    950: '#000000',
  },
}
SCSS
$custom: #2f3684;
$custom-light: #716da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3684",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 235.059,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.12939,
    "h": 274.4
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#2F3684
secondary
#AFA960
accent
#CC51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3684

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

Preview Lab → · Contrast checker → · Palette generator →

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