#2F5A82#2F5A82

#2F5A82 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.081 H 248.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2F5A82
RGBrgb(47, 90, 130)
HSLhsl(209, 47%, 35%)
HSVhsv(209, 64%, 51%)
CMYKcmyk(63.8%, 30.8%, 0%, 49%)
CIE-LABlab(36.98, -1.69, -26.87)
CIE-LCHlch(36.98, 26.93, 266.40°)
OKLaboklab(45.55% -0.0299 -0.0758)
OKLCHoklch(45.55% 0.081 248.5)
XYZxyz(8.8562, 9.5275, 22.4870)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A82 #82572F
analogous
#2F8281 #2F5A82 #2F3082
triadic
#2F5A82 #822F5A #5A822F
tetradic
#2F5A82 #812F82 #82572F #30822F
square
#2F5A82 #812F82 #82572F #30822F
split-complementary
#2F5A82 #822F30 #82812F
monochromatic
#0E1C28 #1F3B55 #2F5A82 #3F79AF #6497C7

Accessibility & contrast

On white

7.23
#2F5A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2F5A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5A82
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A82#FFFFFF#000000##FFFFFF
##2F5A821.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B84
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5a82;
/* rgb */ color: rgb(47, 90, 130);
/* oklch */ color: oklch(45.6% 0.081 248.5);
Tailwind
colors: {
  custom: {
    50: '#7088a6',
    500: '#2f5a82',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a82;
$custom-light: #7088a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a82",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 130
  },
  "hsl": {
    "h": 208.916,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.08146,
    "h": 248.5
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#2F5A82
secondary
#AE855F
accent
#9151D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5A82

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

Preview Lab → · Contrast checker → · Palette generator →

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