#2F4984#2F4984

#2F4984 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.104 H 264.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2F4984
RGBrgb(47, 73, 132)
HSLhsl(222, 47%, 35%)
HSVhsv(222, 64%, 52%)
CMYKcmyk(64.4%, 44.7%, 0%, 48.2%)
CIE-LABlab(31.89, 10.12, -36.16)
CIE-LCHlch(31.89, 37.55, 285.63°)
OKLaboklab(41.62% -0.01 -0.1031)
OKLCHoklch(41.62% 0.104 264.4)
XYZxyz(7.7183, 7.0347, 22.7764)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4984 #846A2F
analogous
#2F7384 #2F4984 #3F2F84
triadic
#2F4984 #842F49 #49842F
tetradic
#2F4984 #842F73 #846A2F #2F843F
square
#2F4984 #842F73 #846A2F #2F843F
split-complementary
#2F4984 #843F2F #73842F
monochromatic
#0F172A #1F3057 #2F4984 #3F62B1 #6583C8

Accessibility & contrast

On white

8.72
#2F4984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F4984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4984
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4984#FFFFFF#000000##FFFFFF
##2F49841.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F86
Deuteranopia (green-blind)
#214783
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4984;
/* rgb */ color: rgb(47, 73, 132);
/* oklch */ color: oklch(41.6% 0.104 264.4);
Tailwind
colors: {
  custom: {
    50: '#707ba8',
    500: '#2f4984',
    950: '#000000',
  },
}
SCSS
$custom: #2f4984;
$custom-light: #707ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4984",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 132
  },
  "hsl": {
    "h": 221.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.1036,
    "h": 264.4
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4984

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

Preview Lab → · Contrast checker → · Palette generator →

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