#2F5083#2F5083

#2F5083 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.093 H 258.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2F5083
RGBrgb(47, 80, 131)
HSLhsl(216, 47%, 35%)
HSVhsv(216, 64%, 51%)
CMYKcmyk(64.1%, 38.9%, 0%, 48.6%)
CIE-LABlab(33.94, 5.10, -32.28)
CIE-LCHlch(33.94, 32.68, 278.98°)
OKLaboklab(43.19% -0.0181 -0.0916)
OKLCHoklch(43.19% 0.093 258.8)
XYZxyz(8.1362, 7.9796, 22.5798)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5083 #83622F
analogous
#2F7A83 #2F5083 #382F83
triadic
#2F5083 #832F50 #50832F
tetradic
#2F5083 #832F7A #83622F #2F8338
square
#2F5083 #832F7A #83622F #2F8338
split-complementary
#2F5083 #83382F #7A832F
monochromatic
#0F1929 #1F3456 #2F5083 #3F6CB0 #658CC8

Accessibility & contrast

On white

8.09
#2F5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5083
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5083#FFFFFF#000000##FFFFFF
##2F50831.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5083;
/* rgb */ color: rgb(47, 80, 131);
/* oklch */ color: oklch(43.2% 0.093 258.8);
Tailwind
colors: {
  custom: {
    50: '#7080a7',
    500: '#2f5083',
    950: '#000000',
  },
}
SCSS
$custom: #2f5083;
$custom-light: #7080a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5083",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 216.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43193,
    "c": 0.0934,
    "h": 258.8
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5083

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

Preview Lab → · Contrast checker → · Palette generator →

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