#2F466F#2F466F

#2F466F is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.076 H 261.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2F466F
RGBrgb(47, 70, 111)
HSLhsl(218, 41%, 31%)
HSVhsv(218, 58%, 44%)
CMYKcmyk(57.7%, 36.9%, 0%, 56.5%)
CIE-LABlab(29.74, 4.44, -26.43)
CIE-LCHlch(29.74, 26.80, 279.53°)
OKLaboklab(39.57% -0.0114 -0.0747)
OKLCHoklch(39.57% 0.076 261.3)
XYZxyz(6.2307, 6.1319, 15.8911)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F466F #6F582F
analogous
#2F666F #2F466F #382F6F
triadic
#2F466F #6F2F46 #466F2F
tetradic
#2F466F #6F2F66 #6F582F #2F6F38
square
#2F466F #6F2F66 #6F582F #2F6F38
split-complementary
#2F466F #6F382F #666F2F
monochromatic
#0B1019 #1D2B44 #2F466F #41619A #5E7FBB

Accessibility & contrast

On white

9.43
#2F466F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F466F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F466F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F466F#FFFFFF#000000##FFFFFF
##2F466F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#2E436E
Tritanopia (blue-blind)
#084F55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f466f;
/* rgb */ color: rgb(47, 70, 111);
/* oklch */ color: oklch(39.6% 0.076 261.3);
Tailwind
colors: {
  custom: {
    50: '#6d7998',
    500: '#2f466f',
    950: '#000000',
  },
}
SCSS
$custom: #2f466f;
$custom-light: #6d7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2f466f",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 111
  },
  "hsl": {
    "h": 218.438,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.07554,
    "h": 261.3
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#2F466F
secondary
#A08759
accent
#A557D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F466F

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

Preview Lab → · Contrast checker → · Palette generator →

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