#2F334E#2F334E

#2F334E is a dark, muted blue. Relative luminance 0.035; OKLCH L 33.0% C 0.048 H 277.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2F334E
RGBrgb(47, 51, 78)
HSLhsl(232, 25%, 25%)
HSVhsv(232, 40%, 31%)
CMYKcmyk(39.7%, 34.6%, 0%, 69.4%)
CIE-LABlab(22.02, 6.03, -17.11)
CIE-LCHlch(22.02, 18.14, 289.42°)
OKLaboklab(33% 0.0058 -0.0477)
OKLCHoklch(33% 0.048 277)
XYZxyz(3.7309, 3.5219, 7.6895)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F334E #4E4A2F
analogous
#2F434E #2F334E #3B2F4E
triadic
#2F334E #4E2F33 #334E2F
tetradic
#2F334E #4E2F43 #4E4A2F #2F4E3B
square
#2F334E #4E2F43 #4E4A2F #2F4E3B
split-complementary
#2F334E #4E3B2F #434E2F
monochromatic
#0C0C13 #181A28 #2F334E #464C74 #5D659A

Accessibility & contrast

On white

12.32
#2F334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F334E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F334E#FFFFFF#000000##FFFFFF
##2F334E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f334e;
/* rgb */ color: rgb(47, 51, 78);
/* oklch */ color: oklch(33.0% 0.048 277.0);
Tailwind
colors: {
  custom: {
    50: '#696a7f',
    500: '#2f334e',
    950: '#000000',
  },
}
SCSS
$custom: #2f334e;
$custom-light: #696a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f334e",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 232.258,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.04807,
    "h": 277
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#2F334E
secondary
#7F7A5A
accent
#B667C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F334E

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

Preview Lab → · Contrast checker → · Palette generator →

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