#2F5084#2F5084

#2F5084 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.095 H 259.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2F5084
RGBrgb(47, 80, 132)
HSLhsl(217, 47%, 35%)
HSVhsv(217, 64%, 52%)
CMYKcmyk(64.4%, 39.4%, 0%, 48.2%)
CIE-LABlab(34.00, 5.47, -32.80)
CIE-LCHlch(34.00, 33.26, 279.46°)
OKLaboklab(43.26% -0.0179 -0.0932)
OKLCHoklch(43.26% 0.095 259.1)
XYZxyz(8.2043, 8.0068, 22.9384)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5084 #84632F
analogous
#2F7A84 #2F5084 #392F84
triadic
#2F5084 #842F50 #50842F
tetradic
#2F5084 #842F7A #84632F #2F8439
square
#2F5084 #842F7A #84632F #2F8439
split-complementary
#2F5084 #84392F #7A842F
monochromatic
#0F192A #1F3557 #2F5084 #3F6BB1 #658CC8

Accessibility & contrast

On white

8.07
#2F5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F5084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5084
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5084#FFFFFF#000000##FFFFFF
##2F50841.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5084;
/* rgb */ color: rgb(47, 80, 132);
/* oklch */ color: oklch(43.3% 0.095 259.1);
Tailwind
colors: {
  custom: {
    50: '#7080a8',
    500: '#2f5084',
    950: '#000000',
  },
}
SCSS
$custom: #2f5084;
$custom-light: #7080a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5084",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 216.706,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.09487,
    "h": 259.1
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#2F5084
secondary
#AF9060
accent
#A351D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F5084

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

Preview Lab → · Contrast checker → · Palette generator →

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