#2F4E6B#2F4E6B

#2F4E6B is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.061 H 247.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2F4E6B
RGBrgb(47, 78, 107)
HSLhsl(209, 39%, 30%)
HSVhsv(209, 56%, 42%)
CMYKcmyk(56.1%, 27.1%, 0%, 58%)
CIE-LABlab(32.07, -2.19, -20.27)
CIE-LCHlch(32.07, 20.39, 263.84°)
OKLaboklab(41.32% -0.023 -0.0568)
OKLCHoklch(41.32% 0.061 247.9)
XYZxyz(6.5496, 7.1141, 14.9351)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E6B #6B4C2F
analogous
#2F6B6A #2F4E6B #2F306B
triadic
#2F4E6B #6B2F4E #4E6B2F
tetradic
#2F4E6B #6A2F6B #6B4C2F #306B2F
square
#2F4E6B #6A2F6B #6B4C2F #306B2F
split-complementary
#2F4E6B #6B2F30 #6B6A2F
monochromatic
#0A1016 #1C2F40 #2F4E6B #426D96 #5D8CB8

Accessibility & contrast

On white

8.67
#2F4E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F4E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E6B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E6B#FFFFFF#000000##FFFFFF
##2F4E6B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6C
Deuteranopia (green-blind)
#3A496A
Tritanopia (blue-blind)
#0C5558
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4e6b;
/* rgb */ color: rgb(47, 78, 107);
/* oklch */ color: oklch(41.3% 0.061 247.9);
Tailwind
colors: {
  custom: {
    50: '#6c7f95',
    500: '#2f4e6b',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e6b;
$custom-light: #6c7f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e6b",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 107
  },
  "hsl": {
    "h": 209,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.06125,
    "h": 247.9
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#2F4E6B
secondary
#9C7A59
accent
#9259CF
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F4E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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