#2F3B4E#2F3B4E

#2F3B4E is a dark, muted blue. Relative luminance 0.043; OKLCH L 35.0% C 0.037 H 259.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2F3B4E
RGBrgb(47, 59, 78)
HSLhsl(217, 25%, 25%)
HSVhsv(217, 40%, 31%)
CMYKcmyk(39.7%, 24.4%, 0%, 69.4%)
CIE-LABlab(24.58, 0.59, -13.15)
CIE-LCHlch(24.58, 13.16, 272.55°)
OKLaboklab(34.99% -0.0068 -0.0364)
OKLCHoklch(34.99% 0.037 259.4)
XYZxyz(4.1110, 4.2821, 7.8162)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B4E #4E422F
analogous
#2F4B4E #2F3B4E #332F4E
triadic
#2F3B4E #4E2F3B #3B4E2F
tetradic
#2F3B4E #4E2F4B #4E422F #2F4E33
square
#2F3B4E #4E2F4B #4E422F #2F4E33
split-complementary
#2F3B4E #4E332F #4B4E2F
monochromatic
#0C0E13 #181E28 #2F3B4E #465874 #5D759A

Accessibility & contrast

On white

11.31
#2F3B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F3B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B4E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B4E#FFFFFF#000000##FFFFFF
##2F3B4E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#253F41
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3b4e;
/* rgb */ color: rgb(47, 59, 78);
/* oklch */ color: oklch(35.0% 0.037 259.4);
Tailwind
colors: {
  custom: {
    50: '#69707f',
    500: '#2f3b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b4e;
$custom-light: #69707f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b4e",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 78
  },
  "hsl": {
    "h": 216.774,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.03702,
    "h": 259.4
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#2F3B4E
secondary
#7F715A
accent
#9E67C1
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2F3B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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