#2F394F#2F394F

#2F394F is a dark, muted blue. Relative luminance 0.041; OKLCH L 34.5% C 0.041 H 265.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2F394F
RGBrgb(47, 57, 79)
HSLhsl(221, 25%, 25%)
HSVhsv(221, 41%, 31%)
CMYKcmyk(40.5%, 27.8%, 0%, 69%)
CIE-LABlab(23.98, 2.25, -14.74)
CIE-LCHlch(23.98, 14.91, 278.67°)
OKLaboklab(34.54% -0.0033 -0.0409)
OKLCHoklch(34.54% 0.041 265.4)
XYZxyz(4.0463, 4.0949, 7.9728)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F394F #4F452F
analogous
#2F494F #2F394F #352F4F
triadic
#2F394F #4F2F39 #394F2F
tetradic
#2F394F #4F2F49 #4F452F #2F4F35
square
#2F394F #4F2F49 #4F452F #2F4F35
split-complementary
#2F394F #4F352F #494F2F
monochromatic
#0B0E13 #181D29 #2F394F #465575 #5D709C

Accessibility & contrast

On white

11.54
#2F394F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F394F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F394F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F394F#FFFFFF#000000##FFFFFF
##2F394F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#2E384E
Tritanopia (blue-blind)
#253D41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f394f;
/* rgb */ color: rgb(47, 57, 79);
/* oklch */ color: oklch(34.5% 0.041 265.4);
Tailwind
colors: {
  custom: {
    50: '#696f80',
    500: '#2f394f',
    950: '#000000',
  },
}
SCSS
$custom: #2f394f;
$custom-light: #696f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f394f",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 79
  },
  "hsl": {
    "h": 221.25,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34539,
    "c": 0.04104,
    "h": 265.4
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#2F394F
secondary
#80745A
accent
#A566C2
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2F394F

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

Preview Lab → · Contrast checker → · Palette generator →

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