#2F4C86#2F4C86

#2F4C86 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.103 H 262.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2F4C86
RGBrgb(47, 76, 134)
HSLhsl(220, 48%, 35%)
HSVhsv(220, 65%, 53%)
CMYKcmyk(64.9%, 43.3%, 0%, 47.5%)
CIE-LABlab(32.91, 8.85, -35.77)
CIE-LCHlch(32.91, 36.85, 283.90°)
OKLaboklab(42.45% -0.0129 -0.1019)
OKLCHoklch(42.45% 0.103 262.8)
XYZxyz(8.0583, 7.4937, 23.5714)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C86 #86692F
analogous
#2F7786 #2F4C86 #3D2F86
triadic
#2F4C86 #862F4C #4C862F
tetradic
#2F4C86 #862F77 #86692F #2F863D
square
#2F4C86 #862F77 #86692F #2F863D
split-complementary
#2F4C86 #863D2F #77862F
monochromatic
#0F192B #1F3259 #2F4C86 #3F66B3 #6687C9

Accessibility & contrast

On white

8.40
#2F4C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F4C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C86
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C86#FFFFFF#000000##FFFFFF
##2F4C861.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4c86;
/* rgb */ color: rgb(47, 76, 134);
/* oklch */ color: oklch(42.4% 0.103 262.8);
Tailwind
colors: {
  custom: {
    50: '#717da9',
    500: '#2f4c86',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c86;
$custom-light: #717da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c86",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 134
  },
  "hsl": {
    "h": 220,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.10274,
    "h": 262.8
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#2F4C86
secondary
#B09660
accent
#AA50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4C86

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

Preview Lab → · Contrast checker → · Palette generator →

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