#2F3582#2F3582

#2F3582 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.128 H 274.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2F3582
RGBrgb(47, 53, 130)
HSLhsl(236, 47%, 35%)
HSVhsv(236, 64%, 51%)
CMYKcmyk(63.8%, 59.2%, 0%, 49%)
CIE-LABlab(26.04, 22.96, -44.32)
CIE-LCHlch(26.04, 49.91, 297.39°)
OKLaboklab(37.15% 0.011 -0.1274)
OKLCHoklch(37.15% 0.128 274.9)
XYZxyz(6.4733, 4.7617, 21.6927)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3582 #827C2F
analogous
#2F5E82 #2F3582 #532F82
triadic
#2F3582 #822F35 #35822F
tetradic
#2F3582 #822F5E #827C2F #2F8253
square
#2F3582 #822F5E #827C2F #2F8253
split-complementary
#2F3582 #82532F #5E822F
monochromatic
#0E1028 #1F2355 #2F3582 #3F47AF #646BC7

Accessibility & contrast

On white

10.76
#2F3582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3582
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3582#FFFFFF#000000##FFFFFF
##2F35821.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3582;
/* rgb */ color: rgb(47, 53, 130);
/* oklch */ color: oklch(37.2% 0.128 274.9);
Tailwind
colors: {
  custom: {
    50: '#716ca7',
    500: '#2f3582',
    950: '#000000',
  },
}
SCSS
$custom: #2f3582;
$custom-light: #716ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3582",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 235.663,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37154,
    "c": 0.12783,
    "h": 274.9
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#2F3582
secondary
#AEA85F
accent
#CD51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2F3582

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

Preview Lab → · Contrast checker → · Palette generator →

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