#2F486D#2F486D

#2F486D is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.9% C 0.070 H 258.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2F486D
RGBrgb(47, 72, 109)
HSLhsl(216, 40%, 31%)
HSVhsv(216, 57%, 43%)
CMYKcmyk(56.9%, 33.9%, 0%, 57.3%)
CIE-LABlab(30.26, 2.40, -24.35)
CIE-LCHlch(30.26, 24.47, 275.63°)
OKLaboklab(39.93% -0.0146 -0.0686)
OKLCHoklch(39.93% 0.07 258)
XYZxyz(6.2490, 6.3427, 15.3600)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F486D #6D542F
analogous
#2F676D #2F486D #352F6D
triadic
#2F486D #6D2F48 #486D2F
tetradic
#2F486D #6D2F67 #6D542F #2F6D35
square
#2F486D #6D2F67 #6D542F #2F6D35
split-complementary
#2F486D #6D352F #676D2F
monochromatic
#0A1017 #1D2C42 #2F486D #416498 #5D82B9

Accessibility & contrast

On white

9.26
#2F486D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F486D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F486D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F486D#FFFFFF#000000##FFFFFF
##2F486D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6F
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#0B5055
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f486d;
/* rgb */ color: rgb(47, 72, 109);
/* oklch */ color: oklch(39.9% 0.070 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7a97',
    500: '#2f486d',
    950: '#000000',
  },
}
SCSS
$custom: #2f486d;
$custom-light: #6c7a97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f486d",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 109
  },
  "hsl": {
    "h": 215.806,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.07013,
    "h": 258
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#2F486D
secondary
#9E8359
accent
#9F58D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F486D

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

Preview Lab → · Contrast checker → · Palette generator →

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