#2F476A#2F476A

#2F476A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.5% C 0.067 H 257.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2F476A
RGBrgb(47, 71, 106)
HSLhsl(216, 39%, 30%)
HSVhsv(216, 56%, 42%)
CMYKcmyk(55.7%, 33%, 0%, 58.4%)
CIE-LABlab(29.79, 2.00, -23.19)
CIE-LCHlch(29.79, 23.28, 274.94°)
OKLaboklab(39.52% -0.0142 -0.0652)
OKLCHoklch(39.52% 0.067 257.7)
XYZxyz(6.0262, 6.1510, 14.5026)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F476A #6A522F
analogous
#2F656A #2F476A #342F6A
triadic
#2F476A #6A2F47 #476A2F
tetradic
#2F476A #6A2F65 #6A522F #2F6A34
square
#2F476A #6A2F65 #6A522F #2F6A34
split-complementary
#2F476A #6A342F #656A2F
monochromatic
#090E15 #1C2B40 #2F476A #426394 #5C81B7

Accessibility & contrast

On white

9.42
#2F476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F476A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F476A#FFFFFF#000000##FFFFFF
##2F476A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496B
Deuteranopia (green-blind)
#324469
Tritanopia (blue-blind)
#104F53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f476a;
/* rgb */ color: rgb(47, 71, 106);
/* oklch */ color: oklch(39.5% 0.067 257.7);
Tailwind
colors: {
  custom: {
    50: '#6c7a95',
    500: '#2f476a',
    950: '#000000',
  },
}
SCSS
$custom: #2f476a;
$custom-light: #6c7a95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f476a",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 215.593,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.06676,
    "h": 257.7
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#2F476A
secondary
#9B8159
accent
#9F59CE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F476A

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

Preview Lab → · Contrast checker → · Palette generator →

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