#2F4672#2F4672

#2F4672 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.080 H 262.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2F4672
RGBrgb(47, 70, 114)
HSLhsl(219, 42%, 32%)
HSVhsv(219, 59%, 45%)
CMYKcmyk(58.8%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.91, 5.52, -28.06)
CIE-LCHlch(29.91, 28.60, 281.12°)
OKLaboklab(39.75% -0.0106 -0.0794)
OKLCHoklch(39.75% 0.08 262.4)
XYZxyz(6.3987, 6.1991, 16.7757)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4672 #725B2F
analogous
#2F6872 #2F4672 #3A2F72
triadic
#2F4672 #722F46 #46722F
tetradic
#2F4672 #722F68 #725B2F #2F723A
square
#2F4672 #722F68 #725B2F #2F723A
split-complementary
#2F4672 #723A2F #68722F
monochromatic
#0B111B #1D2B47 #2F4672 #41619D #5F7FBD

Accessibility & contrast

On white

9.38
#2F4672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F4672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4672
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4672#FFFFFF#000000##FFFFFF
##2F46721.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#035056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4672;
/* rgb */ color: rgb(47, 70, 114);
/* oklch */ color: oklch(39.8% 0.080 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d799b',
    500: '#2f4672',
    950: '#000000',
  },
}
SCSS
$custom: #2f4672;
$custom-light: #6d799b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4672",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 219.403,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.08013,
    "h": 262.4
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#2F4672
secondary
#A38A5A
accent
#A756D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2F4672

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

Preview Lab → · Contrast checker → · Palette generator →

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