#2F5282#2F5282

#2F5282 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.090 H 256.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2F5282
RGBrgb(47, 82, 130)
HSLhsl(215, 47%, 35%)
HSVhsv(215, 64%, 51%)
CMYKcmyk(63.8%, 36.9%, 0%, 49%)
CIE-LABlab(34.50, 3.43, -30.78)
CIE-LCHlch(34.50, 30.97, 276.35°)
OKLaboklab(43.61% -0.0207 -0.0872)
OKLCHoklch(43.61% 0.09 256.7)
XYZxyz(8.2174, 8.2499, 22.2741)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5282 #825F2F
analogous
#2F7C82 #2F5282 #362F82
triadic
#2F5282 #822F52 #52822F
tetradic
#2F5282 #822F7C #825F2F #2F8236
square
#2F5282 #822F7C #825F2F #2F8236
split-complementary
#2F5282 #82362F #7C822F
monochromatic
#0E1928 #1F3655 #2F5282 #3F6EAF #648EC7

Accessibility & contrast

On white

7.92
#2F5282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F5282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5282
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5282#FFFFFF#000000##FFFFFF
##2F52821.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#324E81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5282;
/* rgb */ color: rgb(47, 82, 130);
/* oklch */ color: oklch(43.6% 0.090 256.7);
Tailwind
colors: {
  custom: {
    50: '#7082a6',
    500: '#2f5282',
    950: '#000000',
  },
}
SCSS
$custom: #2f5282;
$custom-light: #7082a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5282",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 214.699,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.08964,
    "h": 256.7
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#2F5282
secondary
#AE8D5F
accent
#9E51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2F5282

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

Preview Lab → · Contrast checker → · Palette generator →

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