#2F4368#2F4368

#2F4368 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.068 H 262.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2F4368
RGBrgb(47, 67, 104)
HSLhsl(219, 38%, 30%)
HSVhsv(219, 55%, 41%)
CMYKcmyk(54.8%, 35.6%, 0%, 59.2%)
CIE-LABlab(28.43, 3.96, -24.06)
CIE-LCHlch(28.43, 24.38, 279.34°)
OKLaboklab(38.42% -0.0095 -0.0678)
OKLCHoklch(38.42% 0.068 262)
XYZxyz(5.6773, 5.6177, 13.8792)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4368 #68542F
analogous
#2F6068 #2F4368 #382F68
triadic
#2F4368 #682F43 #43682F
tetradic
#2F4368 #682F60 #68542F #2F6838
square
#2F4368 #682F60 #68542F #2F6838
split-complementary
#2F4368 #68382F #60682F
monochromatic
#0A0E15 #1C283E #2F4368 #425E92 #5C7BB5

Accessibility & contrast

On white

9.89
#2F4368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F4368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4368
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4368#FFFFFF#000000##FFFFFF
##2F43681.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#2E4167
Tritanopia (blue-blind)
#134B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4368;
/* rgb */ color: rgb(47, 67, 104);
/* oklch */ color: oklch(38.4% 0.068 262.0);
Tailwind
colors: {
  custom: {
    50: '#6c7693',
    500: '#2f4368',
    950: '#000000',
  },
}
SCSS
$custom: #2f4368;
$custom-light: #6c7693;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4368",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 104
  },
  "hsl": {
    "h": 218.947,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.06844,
    "h": 262
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#2F4368
secondary
#998359
accent
#A55ACE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F4368

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

Preview Lab → · Contrast checker → · Palette generator →

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