#2F4986#2F4986

#2F4986 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.107 H 264.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2F4986
RGBrgb(47, 73, 134)
HSLhsl(222, 48%, 35%)
HSVhsv(222, 65%, 53%)
CMYKcmyk(64.9%, 45.5%, 0%, 47.5%)
CIE-LABlab(32.01, 10.86, -37.20)
CIE-LCHlch(32.01, 38.75, 286.28°)
OKLaboklab(41.76% -0.0096 -0.1061)
OKLCHoklch(41.76% 0.107 264.8)
XYZxyz(7.8564, 7.0899, 23.5041)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4986 #866C2F
analogous
#2F7486 #2F4986 #402F86
triadic
#2F4986 #862F49 #49862F
tetradic
#2F4986 #862F74 #866C2F #2F8640
square
#2F4986 #862F74 #866C2F #2F8640
split-complementary
#2F4986 #86402F #74862F
monochromatic
#0F182B #1F3059 #2F4986 #3F62B3 #6684C9

Accessibility & contrast

On white

8.68
#2F4986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F4986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4986
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4986#FFFFFF#000000##FFFFFF
##2F49861.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5088
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4986;
/* rgb */ color: rgb(47, 73, 134);
/* oklch */ color: oklch(41.8% 0.107 264.8);
Tailwind
colors: {
  custom: {
    50: '#717baa',
    500: '#2f4986',
    950: '#000000',
  },
}
SCSS
$custom: #2f4986;
$custom-light: #717baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4986",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 222.069,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.10659,
    "h": 264.8
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#2F4986
secondary
#B09860
accent
#AF50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4986

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

Preview Lab → · Contrast checker → · Palette generator →

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