#2F4864#2F4864

#2F4864 is a dark, muted cyan. Relative luminance 0.062; OKLCH L 39.4% C 0.057 H 252.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2F4864
RGBrgb(47, 72, 100)
HSLhsl(212, 36%, 29%)
HSVhsv(212, 53%, 39%)
CMYKcmyk(53%, 28%, 0%, 60.8%)
CIE-LABlab(29.81, -0.73, -19.34)
CIE-LCHlch(29.81, 19.36, 267.84°)
OKLaboklab(39.43% -0.0175 -0.0541)
OKLCHoklch(39.43% 0.057 252.1)
XYZxyz(5.7891, 6.1587, 12.9378)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4864 #644B2F
analogous
#2F6364 #2F4864 #312F64
triadic
#2F4864 #642F48 #48642F
tetradic
#2F4864 #642F63 #644B2F #2F6431
square
#2F4864 #642F63 #644B2F #2F6431
split-complementary
#2F4864 #64312F #63642F
monochromatic
#0A0F15 #1B2A3A #2F4864 #43668E #5B84B2

Accessibility & contrast

On white

9.41
#2F4864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F4864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4864
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4864#FFFFFF#000000##FFFFFF
##2F48641.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4965
Deuteranopia (green-blind)
#364463
Tritanopia (blue-blind)
#164E52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4864;
/* rgb */ color: rgb(47, 72, 100);
/* oklch */ color: oklch(39.4% 0.057 252.1);
Tailwind
colors: {
  custom: {
    50: '#6b7a90',
    500: '#2f4864',
    950: '#000000',
  },
}
SCSS
$custom: #2f4864;
$custom-light: #6b7a90;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4864",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 100
  },
  "hsl": {
    "h": 211.698,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.05688,
    "h": 252.1
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#2F4864
secondary
#967959
accent
#975CCC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #2F4864

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

Preview Lab → · Contrast checker → · Palette generator →

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