#2F5983#2F5983

#2F5983 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.084 H 250.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2F5983
RGBrgb(47, 89, 131)
HSLhsl(210, 47%, 35%)
HSVhsv(210, 64%, 51%)
CMYKcmyk(64.1%, 32.1%, 0%, 48.6%)
CIE-LABlab(36.72, -0.70, -27.89)
CIE-LCHlch(36.72, 27.90, 268.56°)
OKLaboklab(45.36% -0.0284 -0.0787)
OKLCHoklch(45.36% 0.084 250.2)
XYZxyz(8.8399, 9.3870, 22.8143)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5983 #83592F
analogous
#2F8383 #2F5983 #2F2F83
triadic
#2F5983 #832F59 #59832F
tetradic
#2F5983 #832F83 #83592F #2F832F
square
#2F5983 #832F83 #83592F #2F832F
split-complementary
#2F5983 #832F2F #83832F
monochromatic
#0F1C29 #1F3A56 #2F5983 #3F78B0 #6596C8

Accessibility & contrast

On white

7.30
#2F5983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F5983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5983
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5983#FFFFFF#000000##FFFFFF
##2F59831.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B85
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5983;
/* rgb */ color: rgb(47, 89, 131);
/* oklch */ color: oklch(45.4% 0.084 250.2);
Tailwind
colors: {
  custom: {
    50: '#7087a7',
    500: '#2f5983',
    950: '#000000',
  },
}
SCSS
$custom: #2f5983;
$custom-light: #7087a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5983",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 131
  },
  "hsl": {
    "h": 210,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.08372,
    "h": 250.2
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#2F5983
secondary
#AF875F
accent
#9451D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5983

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

Preview Lab → · Contrast checker → · Palette generator →

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