#2F334F#2F334F

#2F334F is a dark, muted blue. Relative luminance 0.035; OKLCH L 33.1% C 0.050 H 277.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2F334F
RGBrgb(47, 51, 79)
HSLhsl(233, 25%, 25%)
HSVhsv(233, 41%, 31%)
CMYKcmyk(40.5%, 35.4%, 0%, 69%)
CIE-LABlab(22.08, 6.35, -17.70)
CIE-LCHlch(22.08, 18.80, 289.75°)
OKLaboklab(33.06% 0.0061 -0.0494)
OKLCHoklch(33.06% 0.05 277.1)
XYZxyz(3.7670, 3.5364, 7.8797)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F334F #4F4B2F
analogous
#2F434F #2F334F #3B2F4F
triadic
#2F334F #4F2F33 #334F2F
tetradic
#2F334F #4F2F43 #4F4B2F #2F4F3B
square
#2F334F #4F2F43 #4F4B2F #2F4F3B
split-complementary
#2F334F #4F3B2F #434F2F
monochromatic
#0B0C13 #181A29 #2F334F #464C75 #5D659C

Accessibility & contrast

On white

12.30
#2F334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F334F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F334F#FFFFFF#000000##FFFFFF
##2F334F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#28344E
Tritanopia (blue-blind)
#26383D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f334f;
/* rgb */ color: rgb(47, 51, 79);
/* oklch */ color: oklch(33.1% 0.050 277.1);
Tailwind
colors: {
  custom: {
    50: '#696a80',
    500: '#2f334f',
    950: '#000000',
  },
}
SCSS
$custom: #2f334f;
$custom-light: #696a80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f334f",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 232.5,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.04979,
    "h": 277.1
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#2F334F
secondary
#807B5A
accent
#B666C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F334F

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

Preview Lab → · Contrast checker → · Palette generator →

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