#2F4B86#2F4B86

#2F4B86 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.104 H 263.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2F4B86
RGBrgb(47, 75, 134)
HSLhsl(221, 48%, 35%)
HSVhsv(221, 65%, 53%)
CMYKcmyk(64.9%, 44%, 0%, 47.5%)
CIE-LABlab(32.61, 9.52, -36.25)
CIE-LCHlch(32.61, 37.48, 284.72°)
OKLaboklab(42.22% -0.0118 -0.1033)
OKLCHoklch(42.22% 0.104 263.5)
XYZxyz(7.9899, 7.3570, 23.5486)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B86 #866A2F
analogous
#2F7686 #2F4B86 #3F2F86
triadic
#2F4B86 #862F4B #4B862F
tetradic
#2F4B86 #862F76 #866A2F #2F863F
square
#2F4B86 #862F76 #866A2F #2F863F
split-complementary
#2F4B86 #863F2F #76862F
monochromatic
#0F182B #1F3259 #2F4B86 #3F64B3 #6686C9

Accessibility & contrast

On white

8.50
#2F4B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F4B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B86
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B86#FFFFFF#000000##FFFFFF
##2F4B861.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4b86;
/* rgb */ color: rgb(47, 75, 134);
/* oklch */ color: oklch(42.2% 0.104 263.5);
Tailwind
colors: {
  custom: {
    50: '#717ca9',
    500: '#2f4b86',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b86;
$custom-light: #717ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b86",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 220.69,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.104,
    "h": 263.5
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#2F4B86
secondary
#B09760
accent
#AC50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4B86

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

Preview Lab → · Contrast checker → · Palette generator →

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