#2F3884#2F3884

#2F3884 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.127 H 273.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2F3884
RGBrgb(47, 56, 132)
HSLhsl(234, 47%, 35%)
HSVhsv(234, 64%, 52%)
CMYKcmyk(64.4%, 57.6%, 0%, 48.2%)
CIE-LABlab(27.01, 21.66, -44.00)
CIE-LCHlch(27.01, 49.04, 296.21°)
OKLaboklab(37.92% 0.008 -0.1264)
OKLCHoklch(37.92% 0.127 273.6)
XYZxyz(6.7499, 5.0981, 22.4536)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3884 #847B2F
analogous
#2F6284 #2F3884 #502F84
triadic
#2F3884 #842F38 #38842F
tetradic
#2F3884 #842F62 #847B2F #2F8450
square
#2F3884 #842F62 #847B2F #2F8450
split-complementary
#2F3884 #84502F #62842F
monochromatic
#0F122A #1F2557 #2F3884 #3F4BB1 #6570C8

Accessibility & contrast

On white

10.40
#2F3884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F3884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3884
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3884#FFFFFF#000000##FFFFFF
##2F38841.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3884;
/* rgb */ color: rgb(47, 56, 132);
/* oklch */ color: oklch(37.9% 0.127 273.6);
Tailwind
colors: {
  custom: {
    50: '#716ea8',
    500: '#2f3884',
    950: '#000000',
  },
}
SCSS
$custom: #2f3884;
$custom-light: #716ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3884",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 233.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.12664,
    "h": 273.6
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#2F3884
secondary
#AFA760
accent
#C951D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3884

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

Preview Lab → · Contrast checker → · Palette generator →

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