#2F5388#2F5388

#2F5388 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.2% C 0.097 H 258.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2F5388
RGBrgb(47, 83, 136)
HSLhsl(216, 49%, 36%)
HSVhsv(216, 65%, 53%)
CMYKcmyk(65.4%, 39%, 0%, 46.7%)
CIE-LABlab(35.14, 4.98, -33.45)
CIE-LCHlch(35.14, 33.82, 278.47°)
OKLaboklab(44.22% -0.0202 -0.095)
OKLCHoklch(44.22% 0.097 258)
XYZxyz(8.7079, 8.5676, 24.4826)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5388 #88642F
analogous
#2F7F88 #2F5388 #372F88
triadic
#2F5388 #882F53 #53882F
tetradic
#2F5388 #882F7F #88642F #2F8837
square
#2F5388 #882F7F #88642F #2F8837
split-complementary
#2F5388 #88372F #7F882F
monochromatic
#101B2D #1F375B #2F5388 #3F6FB5 #678FCA

Accessibility & contrast

On white

7.74
#2F5388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F5388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5388
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5388#FFFFFF#000000##FFFFFF
##2F53881.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5388;
/* rgb */ color: rgb(47, 83, 136);
/* oklch */ color: oklch(44.2% 0.097 258.0);
Tailwind
colors: {
  custom: {
    50: '#7183ab',
    500: '#2f5388',
    950: '#000000',
  },
}
SCSS
$custom: #2f5388;
$custom-light: #7183ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5388",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 136
  },
  "hsl": {
    "h": 215.73,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.09715,
    "h": 258
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#2F5388
secondary
#B19161
accent
#A150D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F5388

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

Preview Lab → · Contrast checker → · Palette generator →

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