#2F4D73#2F4D73

#2F4D73 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.5% C 0.073 H 255.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2F4D73
RGBrgb(47, 77, 115)
HSLhsl(214, 42%, 32%)
HSVhsv(214, 59%, 45%)
CMYKcmyk(59.1%, 33%, 0%, 54.9%)
CIE-LABlab(32.14, 1.26, -25.17)
CIE-LCHlch(32.14, 25.21, 272.86°)
OKLaboklab(41.51% -0.019 -0.0709)
OKLCHoklch(41.51% 0.073 255)
XYZxyz(6.9196, 7.1493, 17.2316)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D73 #73552F
analogous
#2F6F73 #2F4D73 #332F73
triadic
#2F4D73 #732F4D #4D732F
tetradic
#2F4D73 #732F6F #73552F #2F7333
square
#2F4D73 #732F6F #73552F #2F7333
split-complementary
#2F4D73 #73332F #6F732F
monochromatic
#0B131C #1D3048 #2F4D73 #416A9E #5F89BE

Accessibility & contrast

On white

8.64
#2F4D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F4D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D73
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D73#FFFFFF#000000##FFFFFF
##2F4D731.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F75
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4d73;
/* rgb */ color: rgb(47, 77, 115);
/* oklch */ color: oklch(41.5% 0.073 255.0);
Tailwind
colors: {
  custom: {
    50: '#6d7e9b',
    500: '#2f4d73',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d73;
$custom-light: #6d7e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d73",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 115
  },
  "hsl": {
    "h": 213.529,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.07346,
    "h": 255
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#2F4D73
secondary
#A4835A
accent
#9B56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2F4D73

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

Preview Lab → · Contrast checker → · Palette generator →

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