#2F314E#2F314E

#2F314E is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.051 H 280.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2F314E
RGBrgb(47, 49, 78)
HSLhsl(236, 25%, 25%)
HSVhsv(236, 40%, 31%)
CMYKcmyk(39.7%, 37.2%, 0%, 69.4%)
CIE-LABlab(21.40, 7.42, -18.09)
CIE-LCHlch(21.40, 19.55, 292.31°)
OKLaboklab(32.52% 0.009 -0.0505)
OKLCHoklch(32.52% 0.051 280.1)
XYZxyz(3.6454, 3.3509, 7.6610)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F314E #4E4C2F
analogous
#2F414E #2F314E #3D2F4E
triadic
#2F314E #4E2F31 #314E2F
tetradic
#2F314E #4E2F41 #4E4C2F #2F4E3D
square
#2F314E #4E2F41 #4E4C2F #2F4E3D
split-complementary
#2F314E #4E3D2F #414E2F
monochromatic
#0C0C13 #181928 #2F314E #464974 #5D619A

Accessibility & contrast

On white

12.57
#2F314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F314E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F314E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F314E#FFFFFF#000000##FFFFFF
##2F314E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344F
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#26373C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f314e;
/* rgb */ color: rgb(47, 49, 78);
/* oklch */ color: oklch(32.5% 0.051 280.1);
Tailwind
colors: {
  custom: {
    50: '#69687f',
    500: '#2f314e',
    950: '#000000',
  },
}
SCSS
$custom: #2f314e;
$custom-light: #69687f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f314e",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 236.129,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32518,
    "c": 0.05134,
    "h": 280.1
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#2F314E
secondary
#7F7D5A
accent
#BB67C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F314E

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

Preview Lab → · Contrast checker → · Palette generator →

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