#2F3382#2F3382

#2F3382 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.131 H 275.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2F3382
RGBrgb(47, 51, 130)
HSLhsl(237, 47%, 35%)
HSVhsv(237, 64%, 51%)
CMYKcmyk(63.8%, 60.8%, 0%, 49%)
CIE-LABlab(25.51, 24.31, -45.18)
CIE-LCHlch(25.51, 51.31, 298.28°)
OKLaboklab(36.76% 0.013 -0.1299)
OKLCHoklch(36.76% 0.131 275.7)
XYZxyz(6.3841, 4.5832, 21.6630)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3382 #827E2F
analogous
#2F5D82 #2F3382 #542F82
triadic
#2F3382 #822F33 #33822F
tetradic
#2F3382 #822F5D #827E2F #2F8254
square
#2F3382 #822F5D #827E2F #2F8254
split-complementary
#2F3382 #82542F #5D822F
monochromatic
#0E1028 #1F2155 #2F3382 #3F45AF #6469C7

Accessibility & contrast

On white

10.96
#2F3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3382
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3382#FFFFFF#000000##FFFFFF
##2F33821.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3382;
/* rgb */ color: rgb(47, 51, 130);
/* oklch */ color: oklch(36.8% 0.131 275.7);
Tailwind
colors: {
  custom: {
    50: '#716aa7',
    500: '#2f3382',
    950: '#000000',
  },
}
SCSS
$custom: #2f3382;
$custom-light: #716aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3382",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 237.108,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.13057,
    "h": 275.7
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#2F3382
secondary
#AEAA5F
accent
#D051D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F3382

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

Preview Lab → · Contrast checker → · Palette generator →

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