#2F486E#2F486E

#2F486E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.0% C 0.072 H 258.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2F486E
RGBrgb(47, 72, 110)
HSLhsl(216, 40%, 31%)
HSVhsv(216, 57%, 43%)
CMYKcmyk(57.3%, 34.5%, 0%, 56.9%)
CIE-LABlab(30.31, 2.76, -24.90)
CIE-LCHlch(30.31, 25.05, 276.32°)
OKLaboklab(39.99% -0.0142 -0.0702)
OKLCHoklch(39.99% 0.072 258.5)
XYZxyz(6.3032, 6.3644, 15.6451)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F486E #6E552F
analogous
#2F676E #2F486E #352F6E
triadic
#2F486E #6E2F48 #486E2F
tetradic
#2F486E #6E2F67 #6E552F #2F6E35
square
#2F486E #6E2F67 #6E552F #2F6E35
split-complementary
#2F486E #6E352F #676E2F
monochromatic
#0A1018 #1D2C43 #2F486E #416499 #5D82BA

Accessibility & contrast

On white

9.24
#2F486E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F486E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F486E#FFFFFF#000000##FFFFFF
##2F486E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#095056
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f486e;
/* rgb */ color: rgb(47, 72, 110);
/* oklch */ color: oklch(40.0% 0.072 258.5);
Tailwind
colors: {
  custom: {
    50: '#6d7a98',
    500: '#2f486e',
    950: '#000000',
  },
}
SCSS
$custom: #2f486e;
$custom-light: #6d7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f486e",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 110
  },
  "hsl": {
    "h": 216.19,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.07163,
    "h": 258.5
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#2F486E
secondary
#9F8459
accent
#A058D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F486E

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

Preview Lab → · Contrast checker → · Palette generator →

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