#2F5074#2F5074

#2F5074 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.072 H 251.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2F5074
RGBrgb(47, 80, 116)
HSLhsl(211, 42%, 32%)
HSVhsv(211, 59%, 45%)
CMYKcmyk(59.5%, 31%, 0%, 54.5%)
CIE-LABlab(33.14, -0.33, -24.24)
CIE-LCHlch(33.14, 24.24, 269.23°)
OKLaboklab(42.31% -0.0225 -0.0682)
OKLCHoklch(42.31% 0.072 251.8)
XYZxyz(7.1922, 7.6020, 17.6079)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5074 #74532F
analogous
#2F7374 #2F5074 #312F74
triadic
#2F5074 #742F50 #50742F
tetradic
#2F5074 #742F73 #74532F #2F7431
square
#2F5074 #742F73 #74532F #2F7431
split-complementary
#2F5074 #74312F #73742F
monochromatic
#0C141D #1D3248 #2F5074 #416EA0 #5F8DBE

Accessibility & contrast

On white

8.33
#2F5074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F5074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5074
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5074#FFFFFF#000000##FFFFFF
##2F50741.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f5074;
/* rgb */ color: rgb(47, 80, 116);
/* oklch */ color: oklch(42.3% 0.072 251.8);
Tailwind
colors: {
  custom: {
    50: '#6d809c',
    500: '#2f5074',
    950: '#000000',
  },
}
SCSS
$custom: #2f5074;
$custom-light: #6d809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5074",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 211.304,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.07181,
    "h": 251.8
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#2F5074
secondary
#A5815A
accent
#9756D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F5074

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

Preview Lab → · Contrast checker → · Palette generator →

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