#2F3084#2F3084

#2F3084 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.137 H 276.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2F3084
RGBrgb(47, 48, 132)
HSLhsl(239, 47%, 35%)
HSVhsv(239, 64%, 52%)
CMYKcmyk(64.4%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.90, 27.04, -47.43)
CIE-LCHlch(24.90, 54.60, 299.69°)
OKLaboklab(36.36% 0.0158 -0.1365)
OKLCHoklch(36.36% 0.137 276.6)
XYZxyz(6.3927, 4.3837, 22.3346)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3084 #84832F
analogous
#2F5B84 #2F3084 #582F84
triadic
#2F3084 #842F30 #30842F
tetradic
#2F3084 #842F5B #84832F #2F8458
square
#2F3084 #842F5B #84832F #2F8458
split-complementary
#2F3084 #84582F #5B842F
monochromatic
#0F0F2A #1F2057 #2F3084 #3F40B1 #6566C8

Accessibility & contrast

On white

11.19
#2F3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3084
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3084#FFFFFF#000000##FFFFFF
##2F30841.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f3084;
/* rgb */ color: rgb(47, 48, 132);
/* oklch */ color: oklch(36.4% 0.137 276.6);
Tailwind
colors: {
  custom: {
    50: '#7268a9',
    500: '#2f3084',
    950: '#000000',
  },
}
SCSS
$custom: #2f3084;
$custom-light: #7268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3084",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 239.294,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36361,
    "c": 0.13746,
    "h": 276.6
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#2F3084
secondary
#AFAE60
accent
#D651D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3084

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

Preview Lab → · Contrast checker → · Palette generator →

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