#2F4882#2F4882

#2F4882 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.102 H 264.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2F4882
RGBrgb(47, 72, 130)
HSLhsl(222, 47%, 35%)
HSVhsv(222, 64%, 51%)
CMYKcmyk(63.8%, 44.6%, 0%, 49%)
CIE-LABlab(31.46, 10.04, -35.60)
CIE-LCHlch(31.46, 36.99, 285.75°)
OKLaboklab(41.26% -0.0093 -0.1015)
OKLCHoklch(41.26% 0.102 264.8)
XYZxyz(7.5175, 6.8501, 22.0408)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4882 #82692F
analogous
#2F7282 #2F4882 #402F82
triadic
#2F4882 #822F48 #48822F
tetradic
#2F4882 #822F72 #82692F #2F8240
square
#2F4882 #822F72 #82692F #2F8240
split-complementary
#2F4882 #82402F #72822F
monochromatic
#0E1628 #1F2F55 #2F4882 #3F61AF #6482C7

Accessibility & contrast

On white

8.86
#2F4882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F4882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4882
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4882#FFFFFF#000000##FFFFFF
##2F48821.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4E84
Deuteranopia (green-blind)
#214781
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4882;
/* rgb */ color: rgb(47, 72, 130);
/* oklch */ color: oklch(41.3% 0.102 264.8);
Tailwind
colors: {
  custom: {
    50: '#707aa7',
    500: '#2f4882',
    950: '#000000',
  },
}
SCSS
$custom: #2f4882;
$custom-light: #707aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4882",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 221.928,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.1019,
    "h": 264.8
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#2F4882
secondary
#AE965F
accent
#AE51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F4882

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

Preview Lab → · Contrast checker → · Palette generator →

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