#2F3484#2F3484

#2F3484 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.132 H 275.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2F3484
RGBrgb(47, 52, 132)
HSLhsl(236, 47%, 35%)
HSVhsv(236, 64%, 52%)
CMYKcmyk(64.4%, 60.6%, 0%, 48.2%)
CIE-LABlab(25.94, 24.37, -45.74)
CIE-LCHlch(25.94, 51.83, 298.04°)
OKLaboklab(37.13% 0.012 -0.1316)
OKLCHoklch(37.13% 0.132 275.2)
XYZxyz(6.5638, 4.7257, 22.3916)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3484 #847F2F
analogous
#2F5E84 #2F3484 #552F84
triadic
#2F3484 #842F34 #34842F
tetradic
#2F3484 #842F5E #847F2F #2F8455
square
#2F3484 #842F5E #847F2F #2F8455
split-complementary
#2F3484 #84552F #5E842F
monochromatic
#0F102A #1F2257 #2F3484 #3F46B1 #656BC8

Accessibility & contrast

On white

10.80
#2F3484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F3484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3484
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3484#FFFFFF#000000##FFFFFF
##2F34841.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3484;
/* rgb */ color: rgb(47, 52, 132);
/* oklch */ color: oklch(37.1% 0.132 275.2);
Tailwind
colors: {
  custom: {
    50: '#716ba8',
    500: '#2f3484',
    950: '#000000',
  },
}
SCSS
$custom: #2f3484;
$custom-light: #716ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3484",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 132
  },
  "hsl": {
    "h": 236.471,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37126,
    "c": 0.13211,
    "h": 275.2
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#2F3484
secondary
#AFAA60
accent
#CF51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2F3484

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

Preview Lab → · Contrast checker → · Palette generator →

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