#2F5884#2F5884

#2F5884 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.086 H 251.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2F5884
RGBrgb(47, 88, 132)
HSLhsl(211, 47%, 35%)
HSVhsv(211, 64%, 52%)
CMYKcmyk(64.4%, 33.3%, 0%, 48.2%)
CIE-LABlab(36.46, 0.30, -28.91)
CIE-LCHlch(36.46, 28.92, 270.59°)
OKLaboklab(45.18% -0.027 -0.0817)
OKLCHoklch(45.18% 0.086 251.7)
XYZxyz(8.8254, 9.2489, 23.1454)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5884 #845B2F
analogous
#2F8284 #2F5884 #312F84
triadic
#2F5884 #842F58 #58842F
tetradic
#2F5884 #842F82 #845B2F #2F8431
square
#2F5884 #842F82 #845B2F #2F8431
split-complementary
#2F5884 #84312F #82842F
monochromatic
#0F1C2A #1F3A57 #2F5884 #3F76B1 #6595C8

Accessibility & contrast

On white

7.37
#2F5884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F5884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5884
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5884#FFFFFF#000000##FFFFFF
##2F58841.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A86
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5884;
/* rgb */ color: rgb(47, 88, 132);
/* oklch */ color: oklch(45.2% 0.086 251.7);
Tailwind
colors: {
  custom: {
    50: '#7086a8',
    500: '#2f5884',
    950: '#000000',
  },
}
SCSS
$custom: #2f5884;
$custom-light: #7086a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5884",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 211.059,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.08606,
    "h": 251.7
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#2F5884
secondary
#AF8960
accent
#9651D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5884

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

Preview Lab → · Contrast checker → · Palette generator →

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