#2F3454#2F3454

#2F3454 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.6% C 0.057 H 276.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2F3454
RGBrgb(47, 52, 84)
HSLhsl(232, 28%, 26%)
HSVhsv(232, 44%, 33%)
CMYKcmyk(44%, 38.1%, 0%, 67.1%)
CIE-LABlab(22.65, 7.30, -20.12)
CIE-LCHlch(22.65, 21.40, 289.95°)
OKLaboklab(33.59% 0.0061 -0.0564)
OKLCHoklch(33.59% 0.057 276.1)
XYZxyz(4.0000, 3.7002, 8.8892)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3454 #544F2F
analogous
#2F4654 #2F3454 #3C2F54
triadic
#2F3454 #542F34 #34542F
tetradic
#2F3454 #542F46 #544F2F #2F543C
square
#2F3454 #542F46 #544F2F #2F543C
split-complementary
#2F3454 #543C2F #46542F
monochromatic
#0B0C14 #191C2D #2F3454 #454C7B #5B65A2

Accessibility & contrast

On white

12.07
#2F3454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F3454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3454
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3454#FFFFFF#000000##FFFFFF
##2F34541.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293855
Deuteranopia (green-blind)
#263553
Tritanopia (blue-blind)
#233A40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3454;
/* rgb */ color: rgb(47, 52, 84);
/* oklch */ color: oklch(33.6% 0.057 276.1);
Tailwind
colors: {
  custom: {
    50: '#696b84',
    500: '#2f3454',
    950: '#000000',
  },
}
SCSS
$custom: #2f3454;
$custom-light: #696b84;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3454",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 84
  },
  "hsl": {
    "h": 231.892,
    "s": 28.244,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.05674,
    "h": 276.1
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#2F3454
secondary
#857F59
accent
#B763C5
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2F3454

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

Preview Lab → · Contrast checker → · Palette generator →

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