#2F5386#2F5386

#2F5386 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.094 H 257.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2F5386
RGBrgb(47, 83, 134)
HSLhsl(215, 48%, 35%)
HSVhsv(215, 65%, 53%)
CMYKcmyk(64.9%, 38.1%, 0%, 47.5%)
CIE-LABlab(35.03, 4.24, -32.40)
CIE-LCHlch(35.03, 32.68, 277.46°)
OKLaboklab(44.09% -0.0207 -0.092)
OKLCHoklch(44.09% 0.094 257.3)
XYZxyz(8.5671, 8.5113, 23.7410)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5386 #86622F
analogous
#2F7E86 #2F5386 #362F86
triadic
#2F5386 #862F53 #53862F
tetradic
#2F5386 #862F7E #86622F #2F8636
square
#2F5386 #862F7E #86622F #2F8636
split-complementary
#2F5386 #86362F #7E862F
monochromatic
#0F1B2B #1F3759 #2F5386 #3F6FB3 #668FC9

Accessibility & contrast

On white

7.77
#2F5386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F5386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5386
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5386#FFFFFF#000000##FFFFFF
##2F53861.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5386;
/* rgb */ color: rgb(47, 83, 134);
/* oklch */ color: oklch(44.1% 0.094 257.3);
Tailwind
colors: {
  custom: {
    50: '#7083a9',
    500: '#2f5386',
    950: '#000000',
  },
}
SCSS
$custom: #2f5386;
$custom-light: #7083a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5386",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 134
  },
  "hsl": {
    "h": 215.172,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.09427,
    "h": 257.3
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#2F5386
secondary
#B08F60
accent
#A050D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F5386

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

Preview Lab → · Contrast checker → · Palette generator →

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