#2F4982#2F4982

#2F4982 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.101 H 264.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2F4982
RGBrgb(47, 73, 130)
HSLhsl(221, 47%, 35%)
HSVhsv(221, 64%, 51%)
CMYKcmyk(63.8%, 43.8%, 0%, 49%)
CIE-LABlab(31.76, 9.37, -35.12)
CIE-LCHlch(31.76, 36.35, 284.94°)
OKLaboklab(41.49% -0.0104 -0.1)
OKLCHoklch(41.49% 0.101 264.1)
XYZxyz(7.5827, 6.9805, 22.0625)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4982 #82682F
analogous
#2F7382 #2F4982 #3F2F82
triadic
#2F4982 #822F49 #49822F
tetradic
#2F4982 #822F73 #82682F #2F823F
square
#2F4982 #822F73 #82682F #2F823F
split-complementary
#2F4982 #823F2F #73822F
monochromatic
#0E1728 #1F3055 #2F4982 #3F62AF #6483C7

Accessibility & contrast

On white

8.76
#2F4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4982
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4982#FFFFFF#000000##FFFFFF
##2F49821.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4982;
/* rgb */ color: rgb(47, 73, 130);
/* oklch */ color: oklch(41.5% 0.101 264.1);
Tailwind
colors: {
  custom: {
    50: '#707ba7',
    500: '#2f4982',
    950: '#000000',
  },
}
SCSS
$custom: #2f4982;
$custom-light: #707ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4982",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 221.205,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.10059,
    "h": 264.1
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#2F4982
secondary
#AE955F
accent
#AD51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4982

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

Preview Lab → · Contrast checker → · Palette generator →

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