#2F3482#2F3482

#2F3482 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.129 H 275.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3482
RGBrgb(47, 52, 130)
HSLhsl(236, 47%, 35%)
HSVhsv(236, 64%, 51%)
CMYKcmyk(63.8%, 60%, 0%, 49%)
CIE-LABlab(25.78, 23.64, -44.75)
CIE-LCHlch(25.78, 50.61, 297.84°)
OKLaboklab(36.96% 0.012 -0.1286)
OKLCHoklch(36.96% 0.129 275.3)
XYZxyz(6.4282, 4.6715, 21.6777)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3482 #827D2F
analogous
#2F5D82 #2F3482 #542F82
triadic
#2F3482 #822F34 #34822F
tetradic
#2F3482 #822F5D #827D2F #2F8254
square
#2F3482 #822F5D #827D2F #2F8254
split-complementary
#2F3482 #82542F #5D822F
monochromatic
#0E1028 #1F2255 #2F3482 #3F46AF #646AC7

Accessibility & contrast

On white

10.86
#2F3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3482
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3482#FFFFFF#000000##FFFFFF
##2F34821.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3482;
/* rgb */ color: rgb(47, 52, 130);
/* oklch */ color: oklch(37.0% 0.129 275.3);
Tailwind
colors: {
  custom: {
    50: '#716ba7',
    500: '#2f3482',
    950: '#000000',
  },
}
SCSS
$custom: #2f3482;
$custom-light: #716ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3482",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 236.386,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36956,
    "c": 0.12921,
    "h": 275.3
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#2F3482
secondary
#AEA95F
accent
#CE51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F3482

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

Preview Lab → · Contrast checker → · Palette generator →

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