#2F5D88#2F5D88

#2F5D88 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.087 H 248.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2F5D88
RGBrgb(47, 93, 136)
HSLhsl(209, 49%, 36%)
HSVhsv(209, 65%, 53%)
CMYKcmyk(65.4%, 31.6%, 0%, 46.7%)
CIE-LABlab(38.22, -1.41, -28.59)
CIE-LCHlch(38.22, 28.63, 267.17°)
OKLaboklab(46.62% -0.0314 -0.0807)
OKLCHoklch(46.62% 0.087 248.7)
XYZxyz(9.5289, 10.2097, 24.7563)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D88 #885A2F
analogous
#2F8886 #2F5D88 #2F3088
triadic
#2F5D88 #882F5D #5D882F
tetradic
#2F5D88 #862F88 #885A2F #30882F
square
#2F5D88 #862F88 #885A2F #30882F
split-complementary
#2F5D88 #882F30 #88862F
monochromatic
#101F2D #1F3E5B #2F5D88 #3F7CB5 #679ACA

Accessibility & contrast

On white

6.90
#2F5D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F5D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D88
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D88#FFFFFF#000000##FFFFFF
##2F5D881.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8A
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5d88;
/* rgb */ color: rgb(47, 93, 136);
/* oklch */ color: oklch(46.6% 0.087 248.7);
Tailwind
colors: {
  custom: {
    50: '#718aab',
    500: '#2f5d88',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d88;
$custom-light: #718aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d88",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 136
  },
  "hsl": {
    "h": 208.989,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.08663,
    "h": 248.7
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#2F5D88
secondary
#B18861
accent
#9250D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D88

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

Preview Lab → · Contrast checker → · Palette generator →

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