#2F334C#2F334C

#2F334C is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.9% C 0.045 H 276.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2F334C
RGBrgb(47, 51, 76)
HSLhsl(232, 24%, 24%)
HSVhsv(232, 38%, 30%)
CMYKcmyk(38.2%, 32.9%, 0%, 70.2%)
CIE-LABlab(21.92, 5.39, -15.93)
CIE-LCHlch(21.92, 16.82, 288.70°)
OKLaboklab(32.89% 0.0052 -0.0443)
OKLCHoklch(32.89% 0.045 276.7)
XYZxyz(3.6603, 3.4937, 7.3176)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F334C #4C482F
analogous
#2F424C #2F334C #3A2F4C
triadic
#2F334C #4C2F33 #334C2F
tetradic
#2F334C #4C2F42 #4C482F #2F4C3A
square
#2F334C #4C2F42 #4C482F #2F4C3A
split-complementary
#2F334C #4C3A2F #424C2F
monochromatic
#0C0D13 #181A26 #2F334C #464C72 #5E6698

Accessibility & contrast

On white

12.36
#2F334C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F334C
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F334C#FFFFFF#000000##FFFFFF
##2F334C1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364D
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#27383C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f334c;
/* rgb */ color: rgb(47, 51, 76);
/* oklch */ color: oklch(32.9% 0.045 276.7);
Tailwind
colors: {
  custom: {
    50: '#686a7e',
    500: '#2f334c',
    950: '#000000',
  },
}
SCSS
$custom: #2f334c;
$custom-light: #686a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f334c",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 231.724,
    "s": 23.577,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32888,
    "c": 0.04463,
    "h": 276.7
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#2F334C
secondary
#7D785A
accent
#B468C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F334C

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

Preview Lab → · Contrast checker → · Palette generator →

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