#2F4668#2F4668

#2F4668 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.2% C 0.065 H 258.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2F4668
RGBrgb(47, 70, 104)
HSLhsl(216, 38%, 30%)
HSVhsv(216, 55%, 41%)
CMYKcmyk(54.8%, 32.7%, 0%, 59.2%)
CIE-LABlab(29.37, 1.96, -22.57)
CIE-LCHlch(29.37, 22.66, 274.97°)
OKLaboklab(39.15% -0.0135 -0.0635)
OKLCHoklch(39.15% 0.065 258)
XYZxyz(5.8603, 5.9837, 13.9402)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4668 #68512F
analogous
#2F6368 #2F4668 #352F68
triadic
#2F4668 #682F46 #46682F
tetradic
#2F4668 #682F63 #68512F #2F6835
square
#2F4668 #682F63 #68512F #2F6835
split-complementary
#2F4668 #68352F #63682F
monochromatic
#0A0E15 #1C2A3E #2F4668 #426292 #5C80B5

Accessibility & contrast

On white

9.56
#2F4668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2F4668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4668
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4668#FFFFFF#000000##FFFFFF
##2F46681.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394869
Deuteranopia (green-blind)
#324367
Tritanopia (blue-blind)
#124E52
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4668;
/* rgb */ color: rgb(47, 70, 104);
/* oklch */ color: oklch(39.2% 0.065 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7993',
    500: '#2f4668',
    950: '#000000',
  },
}
SCSS
$custom: #2f4668;
$custom-light: #6c7993;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4668",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 104
  },
  "hsl": {
    "h": 215.789,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39154,
    "c": 0.06488,
    "h": 258
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#2F4668
secondary
#998059
accent
#9F5ACE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F4668

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

Preview Lab → · Contrast checker → · Palette generator →

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