#2F3A4E#2F3A4E

#2F3A4E is a dark, muted blue. Relative luminance 0.042; OKLCH L 34.7% C 0.038 H 262.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3A4E
RGBrgb(47, 58, 78)
HSLhsl(219, 25%, 25%)
HSVhsv(219, 40%, 31%)
CMYKcmyk(39.7%, 25.6%, 0%, 69.4%)
CIE-LABlab(24.26, 1.26, -13.65)
CIE-LCHlch(24.26, 13.71, 275.25°)
OKLaboklab(34.74% -0.0052 -0.0378)
OKLCHoklch(34.74% 0.038 262.2)
XYZxyz(4.0601, 4.1803, 7.7992)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A4E #4E432F
analogous
#2F4A4E #2F3A4E #342F4E
triadic
#2F3A4E #4E2F3A #3A4E2F
tetradic
#2F3A4E #4E2F4A #4E432F #2F4E34
square
#2F3A4E #4E2F4A #4E432F #2F4E34
split-complementary
#2F3A4E #4E342F #4A4E2F
monochromatic
#0C0E13 #181E28 #2F3A4E #465674 #5D739A

Accessibility & contrast

On white

11.44
#2F3A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F3A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A4E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A4E#FFFFFF#000000##FFFFFF
##2F3A4E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#30384E
Tritanopia (blue-blind)
#253E41
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3a4e;
/* rgb */ color: rgb(47, 58, 78);
/* oklch */ color: oklch(34.7% 0.038 262.2);
Tailwind
colors: {
  custom: {
    50: '#69707f',
    500: '#2f3a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a4e;
$custom-light: #69707f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a4e",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 218.71,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.03817,
    "h": 262.2
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#2F3A4E
secondary
#7F725A
accent
#A167C1
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2F3A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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