#2F415F#2F415F

#2F415F is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.4% C 0.057 H 260.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2F415F
RGBrgb(47, 65, 95)
HSLhsl(218, 34%, 28%)
HSVhsv(218, 51%, 37%)
CMYKcmyk(50.5%, 31.6%, 0%, 62.7%)
CIE-LABlab(27.33, 2.17, -20.00)
CIE-LCHlch(27.33, 20.12, 276.20°)
OKLaboklab(37.41% -0.0096 -0.056)
OKLCHoklch(37.41% 0.057 260.3)
XYZxyz(5.1275, 5.2108, 11.5599)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F415F #5F4D2F
analogous
#2F595F #2F415F #352F5F
triadic
#2F415F #5F2F41 #415F2F
tetradic
#2F415F #5F2F59 #5F4D2F #2F5F35
square
#2F415F #5F2F59 #5F4D2F #2F5F35
split-complementary
#2F415F #5F352F #595F2F
monochromatic
#0A0E14 #1B2536 #2F415F #435D88 #5B7AAE

Accessibility & contrast

On white

10.28
#2F415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F415F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F415F#FFFFFF#000000##FFFFFF
##2F415F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#303F5E
Tritanopia (blue-blind)
#1B474C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f415f;
/* rgb */ color: rgb(47, 65, 95);
/* oklch */ color: oklch(37.4% 0.057 260.3);
Tailwind
colors: {
  custom: {
    50: '#6a758c',
    500: '#2f415f',
    950: '#000000',
  },
}
SCSS
$custom: #2f415f;
$custom-light: #6a758c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f415f",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 217.5,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.05684,
    "h": 260.3
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#2F415F
secondary
#917C59
accent
#A15ECA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F415F

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

Preview Lab → · Contrast checker → · Palette generator →

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