#2F5D8A#2F5D8A

#2F5D8A is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.089 H 249.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2F5D8A
RGBrgb(47, 93, 138)
HSLhsl(210, 49%, 36%)
HSVhsv(210, 66%, 54%)
CMYKcmyk(65.9%, 32.6%, 0%, 45.9%)
CIE-LABlab(38.32, -0.69, -29.65)
CIE-LCHlch(38.32, 29.66, 268.66°)
OKLaboklab(46.74% -0.0308 -0.0838)
OKLCHoklch(46.74% 0.089 249.8)
XYZxyz(9.6724, 10.2671, 25.5118)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D8A #8A5C2F
analogous
#2F8A8A #2F5D8A #2F308A
triadic
#2F5D8A #8A2F5D #5D8A2F
tetradic
#2F5D8A #8A2F8A #8A5C2F #308A2F
square
#2F5D8A #8A2F8A #8A5C2F #308A2F
split-complementary
#2F5D8A #8A2F30 #8A8A2F
monochromatic
#101F2F #1F3E5C #2F5D8A #3F7CB8 #689ACC

Accessibility & contrast

On white

6.88
#2F5D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F5D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D8A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D8A#FFFFFF#000000##FFFFFF
##2F5D8A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5d8a;
/* rgb */ color: rgb(47, 93, 138);
/* oklch */ color: oklch(46.7% 0.089 249.8);
Tailwind
colors: {
  custom: {
    50: '#718aac',
    500: '#2f5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d8a;
$custom-light: #718aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d8a",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 209.67,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.08928,
    "h": 249.8
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#2F5D8A
secondary
#B38A62
accent
#934FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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