#2F5783#2F5783

#2F5783 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.086 H 252.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2F5783
RGBrgb(47, 87, 131)
HSLhsl(211, 47%, 35%)
HSVhsv(211, 64%, 51%)
CMYKcmyk(64.1%, 33.6%, 0%, 48.6%)
CIE-LABlab(36.10, 0.57, -28.87)
CIE-LCHlch(36.10, 28.88, 271.13°)
OKLaboklab(44.88% -0.0261 -0.0816)
OKLCHoklch(44.88% 0.086 252.3)
XYZxyz(8.6757, 9.0586, 22.7596)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5783 #835B2F
analogous
#2F8183 #2F5783 #312F83
triadic
#2F5783 #832F57 #57832F
tetradic
#2F5783 #832F81 #835B2F #2F8331
square
#2F5783 #832F81 #835B2F #2F8331
split-complementary
#2F5783 #83312F #81832F
monochromatic
#0F1B29 #1F3956 #2F5783 #3F75B0 #6594C8

Accessibility & contrast

On white

7.47
#2F5783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F5783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5783
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5783#FFFFFF#000000##FFFFFF
##2F57831.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445985
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5783;
/* rgb */ color: rgb(47, 87, 131);
/* oklch */ color: oklch(44.9% 0.086 252.3);
Tailwind
colors: {
  custom: {
    50: '#7086a7',
    500: '#2f5783',
    950: '#000000',
  },
}
SCSS
$custom: #2f5783;
$custom-light: #7086a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5783",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 131
  },
  "hsl": {
    "h": 211.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.08569,
    "h": 252.3
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#2F5783
secondary
#AF895F
accent
#9751D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5783

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

Preview Lab → · Contrast checker → · Palette generator →

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