#2F4E75#2F4E75

#2F4E75 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.075 H 254.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2F4E75
RGBrgb(47, 78, 117)
HSLhsl(213, 43%, 32%)
HSVhsv(213, 60%, 46%)
CMYKcmyk(59.8%, 33.3%, 0%, 54.1%)
CIE-LABlab(32.56, 1.32, -25.77)
CIE-LCHlch(32.56, 25.80, 272.94°)
OKLaboklab(41.87% -0.0197 -0.0727)
OKLCHoklch(41.87% 0.075 254.9)
XYZxyz(7.1064, 7.3369, 17.8678)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E75 #75562F
analogous
#2F7175 #2F4E75 #332F75
triadic
#2F4E75 #752F4E #4E752F
tetradic
#2F4E75 #752F71 #75562F #2F7533
square
#2F4E75 #752F71 #75562F #2F7533
split-complementary
#2F4E75 #75332F #71752F
monochromatic
#0C141E #1D3149 #2F4E75 #416BA1 #5F8ABF

Accessibility & contrast

On white

8.51
#2F4E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F4E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E75
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E75#FFFFFF#000000##FFFFFF
##2F4E751.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5077
Deuteranopia (green-blind)
#354A74
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4e75;
/* rgb */ color: rgb(47, 78, 117);
/* oklch */ color: oklch(41.9% 0.075 254.9);
Tailwind
colors: {
  custom: {
    50: '#6e7f9d',
    500: '#2f4e75',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e75;
$custom-light: #6e7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e75",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 213.429,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.07529,
    "h": 254.9
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#2F4E75
secondary
#A6845A
accent
#9B55D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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