#2F5A88#2F5A88

#2F5A88 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.090 H 251.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2F5A88
RGBrgb(47, 90, 136)
HSLhsl(211, 49%, 36%)
HSVhsv(211, 65%, 53%)
CMYKcmyk(65.4%, 33.8%, 0%, 46.7%)
CIE-LABlab(37.29, 0.48, -30.05)
CIE-LCHlch(37.29, 30.06, 270.91°)
OKLaboklab(45.89% -0.028 -0.085)
OKLCHoklch(45.89% 0.09 251.8)
XYZxyz(9.2708, 9.6933, 24.6702)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A88 #885D2F
analogous
#2F8688 #2F5A88 #302F88
triadic
#2F5A88 #882F5A #5A882F
tetradic
#2F5A88 #882F86 #885D2F #2F8830
square
#2F5A88 #882F86 #885D2F #2F8830
split-complementary
#2F5A88 #88302F #86882F
monochromatic
#101E2D #1F3C5B #2F5A88 #3F78B5 #6797CA

Accessibility & contrast

On white

7.15
#2F5A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2F5A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5A88
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A88#FFFFFF#000000##FFFFFF
##2F5A881.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C8A
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5a88;
/* rgb */ color: rgb(47, 90, 136);
/* oklch */ color: oklch(45.9% 0.090 251.8);
Tailwind
colors: {
  custom: {
    50: '#7188ab',
    500: '#2f5a88',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a88;
$custom-light: #7188ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a88",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 136
  },
  "hsl": {
    "h": 211.011,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.08952,
    "h": 251.8
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#2F5A88
secondary
#B18B61
accent
#9650D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5A88

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

Preview Lab → · Contrast checker → · Palette generator →

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