#2F466D#2F466D

#2F466D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.4% C 0.072 H 260.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2F466D
RGBrgb(47, 70, 109)
HSLhsl(218, 40%, 31%)
HSVhsv(218, 57%, 43%)
CMYKcmyk(56.9%, 35.8%, 0%, 57.3%)
CIE-LABlab(29.63, 3.73, -25.34)
CIE-LCHlch(29.63, 25.61, 278.36°)
OKLaboklab(39.45% -0.012 -0.0715)
OKLCHoklch(39.45% 0.072 260.5)
XYZxyz(6.1218, 6.0883, 15.3176)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F466D #6D562F
analogous
#2F656D #2F466D #372F6D
triadic
#2F466D #6D2F46 #466D2F
tetradic
#2F466D #6D2F65 #6D562F #2F6D37
square
#2F466D #6D2F65 #6D562F #2F6D37
split-complementary
#2F466D #6D372F #656D2F
monochromatic
#0A0F17 #1D2B42 #2F466D #416198 #5D7FB9

Accessibility & contrast

On white

9.47
#2F466D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F466D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F466D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F466D#FFFFFF#000000##FFFFFF
##2F466D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#0C4F54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f466d;
/* rgb */ color: rgb(47, 70, 109);
/* oklch */ color: oklch(39.4% 0.072 260.5);
Tailwind
colors: {
  custom: {
    50: '#6c7997',
    500: '#2f466d',
    950: '#000000',
  },
}
SCSS
$custom: #2f466d;
$custom-light: #6c7997;
$custom-dark: #000000;
JSON
{
  "hex": "#2f466d",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 109
  },
  "hsl": {
    "h": 217.742,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.07248,
    "h": 260.5
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#2F466D
secondary
#9E8559
accent
#A358D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F466D

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

Preview Lab → · Contrast checker → · Palette generator →

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