#2F5085#2F5085

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

Color values

HEX#2F5085
RGBrgb(47, 80, 133)
HSLhsl(217, 48%, 35%)
HSVhsv(217, 65%, 52%)
CMYKcmyk(64.7%, 39.8%, 0%, 47.8%)
CIE-LABlab(34.05, 5.84, -33.33)
CIE-LCHlch(34.05, 33.83, 279.93°)
OKLaboklab(43.32% -0.0176 -0.0947)
OKLCHoklch(43.32% 0.096 259.5)
XYZxyz(8.2731, 8.0344, 23.3006)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5085 #85642F
analogous
#2F7B85 #2F5085 #392F85
triadic
#2F5085 #852F50 #50852F
tetradic
#2F5085 #852F7B #85642F #2F8539
square
#2F5085 #852F7B #85642F #2F8539
split-complementary
#2F5085 #85392F #7B852F
monochromatic
#0F1A2B #1F3558 #2F5085 #3F6BB2 #668CC9

Accessibility & contrast

On white

8.06
#2F5085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F5085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5085
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5085#FFFFFF#000000##FFFFFF
##2F50851.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395487
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5085;
/* rgb */ color: rgb(47, 80, 133);
/* oklch */ color: oklch(43.3% 0.096 259.5);
Tailwind
colors: {
  custom: {
    50: '#7080a9',
    500: '#2f5085',
    950: '#000000',
  },
}
SCSS
$custom: #2f5085;
$custom-light: #7080a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5085",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 133
  },
  "hsl": {
    "h": 216.977,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.09632,
    "h": 259.5
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#2F5085
secondary
#B09160
accent
#A450D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F5085

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

Preview Lab → · Contrast checker → · Palette generator →

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