#2F5082#2F5082

#2F5082 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.1% C 0.092 H 258.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2F5082
RGBrgb(47, 80, 130)
HSLhsl(216, 47%, 35%)
HSVhsv(216, 64%, 51%)
CMYKcmyk(63.8%, 38.5%, 0%, 49%)
CIE-LABlab(33.88, 4.73, -31.75)
CIE-LCHlch(33.88, 32.10, 278.48°)
OKLaboklab(43.13% -0.0184 -0.0901)
OKLCHoklch(43.13% 0.092 258.5)
XYZxyz(8.0688, 7.9526, 22.2246)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5082 #82612F
analogous
#2F7A82 #2F5082 #382F82
triadic
#2F5082 #822F50 #50822F
tetradic
#2F5082 #822F7A #82612F #2F8238
square
#2F5082 #822F7A #82612F #2F8238
split-complementary
#2F5082 #82382F #7A822F
monochromatic
#0E1928 #1F3455 #2F5082 #3F6CAF #648CC7

Accessibility & contrast

On white

8.11
#2F5082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F5082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5082
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5082#FFFFFF#000000##FFFFFF
##2F50821.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5082;
/* rgb */ color: rgb(47, 80, 130);
/* oklch */ color: oklch(43.1% 0.092 258.5);
Tailwind
colors: {
  custom: {
    50: '#7080a6',
    500: '#2f5082',
    950: '#000000',
  },
}
SCSS
$custom: #2f5082;
$custom-light: #7080a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5082",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 216.145,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.09194,
    "h": 258.5
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#2F5082
secondary
#AE8F5F
accent
#A251D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F5082

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

Preview Lab → · Contrast checker → · Palette generator →

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