#2F425F#2F425F

#2F425F is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.7% C 0.056 H 258.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2F425F
RGBrgb(47, 66, 95)
HSLhsl(216, 34%, 28%)
HSVhsv(216, 51%, 37%)
CMYKcmyk(50.5%, 30.5%, 0%, 62.7%)
CIE-LABlab(27.65, 1.51, -19.50)
CIE-LCHlch(27.65, 19.56, 274.41°)
OKLaboklab(37.66% -0.011 -0.0546)
OKLCHoklch(37.66% 0.056 258.6)
XYZxyz(5.1854, 5.3267, 11.5792)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F425F #5F4C2F
analogous
#2F5A5F #2F425F #342F5F
triadic
#2F425F #5F2F42 #425F2F
tetradic
#2F425F #5F2F5A #5F4C2F #2F5F34
square
#2F425F #5F2F5A #5F4C2F #2F5F34
split-complementary
#2F425F #5F342F #5A5F2F
monochromatic
#0A0E14 #1B2636 #2F425F #435E88 #5B7CAE

Accessibility & contrast

On white

10.17
#2F425F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F425F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F425F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F425F#FFFFFF#000000##FFFFFF
##2F425F1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374460
Deuteranopia (green-blind)
#313F5E
Tritanopia (blue-blind)
#1B484C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f425f;
/* rgb */ color: rgb(47, 66, 95);
/* oklch */ color: oklch(37.7% 0.056 258.6);
Tailwind
colors: {
  custom: {
    50: '#6a768c',
    500: '#2f425f',
    950: '#000000',
  },
}
SCSS
$custom: #2f425f;
$custom-light: #6a768c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f425f",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 95
  },
  "hsl": {
    "h": 216.25,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.05569,
    "h": 258.6
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#2F425F
secondary
#917B59
accent
#9F5ECA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F425F

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

Preview Lab → · Contrast checker → · Palette generator →

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