#2F5C84#2F5C84

#2F5C84 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.082 H 247.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2F5C84
RGBrgb(47, 92, 132)
HSLhsl(208, 47%, 35%)
HSVhsv(208, 64%, 52%)
CMYKcmyk(64.4%, 30.3%, 0%, 48.2%)
CIE-LABlab(37.71, -2.23, -26.96)
CIE-LCHlch(37.71, 27.05, 265.28°)
OKLaboklab(46.16% -0.0315 -0.076)
OKLCHoklch(46.16% 0.082 247.5)
XYZxyz(9.1628, 9.9237, 23.2579)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C84 #84572F
analogous
#2F8481 #2F5C84 #2F3284
triadic
#2F5C84 #842F5C #5C842F
tetradic
#2F5C84 #812F84 #84572F #32842F
square
#2F5C84 #812F84 #84572F #32842F
split-complementary
#2F5C84 #842F32 #84812F
monochromatic
#0F1D2A #1F3D57 #2F5C84 #3F7BB1 #659AC8

Accessibility & contrast

On white

7.04
#2F5C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F5C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C84
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C84#FFFFFF#000000##FFFFFF
##2F5C841.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D86
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5c84;
/* rgb */ color: rgb(47, 92, 132);
/* oklch */ color: oklch(46.2% 0.082 247.5);
Tailwind
colors: {
  custom: {
    50: '#708aa8',
    500: '#2f5c84',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c84;
$custom-light: #708aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c84",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 132
  },
  "hsl": {
    "h": 208.235,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.0823,
    "h": 247.5
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#2F5C84
secondary
#AF8560
accent
#9051D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5C84

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

Preview Lab → · Contrast checker → · Palette generator →

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