#2F4E73#2F4E73

#2F4E73 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.072 H 253.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F4E73
RGBrgb(47, 78, 115)
HSLhsl(213, 42%, 32%)
HSVhsv(213, 59%, 45%)
CMYKcmyk(59.1%, 32.2%, 0%, 54.9%)
CIE-LABlab(32.46, 0.61, -24.68)
CIE-LCHlch(32.46, 24.69, 271.42°)
OKLaboklab(41.76% -0.0203 -0.0695)
OKLCHoklch(41.76% 0.072 253.7)
XYZxyz(6.9901, 7.2903, 17.2551)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E73 #73542F
analogous
#2F7073 #2F4E73 #322F73
triadic
#2F4E73 #732F4E #4E732F
tetradic
#2F4E73 #732F70 #73542F #2F7332
square
#2F4E73 #732F70 #73542F #2F7332
split-complementary
#2F4E73 #73322F #70732F
monochromatic
#0B131C #1D3148 #2F4E73 #416B9E #5F8ABE

Accessibility & contrast

On white

8.54
#2F4E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F4E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E73
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E73#FFFFFF#000000##FFFFFF
##2F4E731.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4e73;
/* rgb */ color: rgb(47, 78, 115);
/* oklch */ color: oklch(41.8% 0.072 253.7);
Tailwind
colors: {
  custom: {
    50: '#6d7f9b',
    500: '#2f4e73',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e73;
$custom-light: #6d7f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e73",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 115
  },
  "hsl": {
    "h": 212.647,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41755,
    "c": 0.07241,
    "h": 253.7
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#2F4E73
secondary
#A4825A
accent
#9956D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F4E73

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

Preview Lab → · Contrast checker → · Palette generator →

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