#2F5688#2F5688

#2F5688 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.9% C 0.094 H 255.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2F5688
RGBrgb(47, 86, 136)
HSLhsl(214, 49%, 36%)
HSVhsv(214, 65%, 53%)
CMYKcmyk(65.4%, 36.8%, 0%, 46.7%)
CIE-LABlab(36.05, 3.04, -32.00)
CIE-LCHlch(36.05, 32.14, 275.42°)
OKLaboklab(44.93% -0.0236 -0.0907)
OKLCHoklch(44.93% 0.094 255.5)
XYZxyz(8.9424, 9.0366, 24.5608)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5688 #88612F
analogous
#2F8288 #2F5688 #342F88
triadic
#2F5688 #882F56 #56882F
tetradic
#2F5688 #882F82 #88612F #2F8834
square
#2F5688 #882F82 #88612F #2F8834
split-complementary
#2F5688 #88342F #82882F
monochromatic
#101C2D #1F395B #2F5688 #3F73B5 #6793CA

Accessibility & contrast

On white

7.48
#2F5688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5688
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5688#FFFFFF#000000##FFFFFF
##2F56881.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5688;
/* rgb */ color: rgb(47, 86, 136);
/* oklch */ color: oklch(44.9% 0.094 255.5);
Tailwind
colors: {
  custom: {
    50: '#7185ab',
    500: '#2f5688',
    950: '#000000',
  },
}
SCSS
$custom: #2f5688;
$custom-light: #7185ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5688",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 213.708,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.09375,
    "h": 255.5
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#2F5688
secondary
#B18E61
accent
#9C50D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5688

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

Preview Lab → · Contrast checker → · Palette generator →

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