#2F5488#2F5488

#2F5488 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.096 H 257.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2F5488
RGBrgb(47, 84, 136)
HSLhsl(215, 49%, 36%)
HSVhsv(215, 65%, 53%)
CMYKcmyk(65.4%, 38.2%, 0%, 46.7%)
CIE-LABlab(35.44, 4.33, -32.97)
CIE-LCHlch(35.44, 33.25, 277.48°)
OKLaboklab(44.45% -0.0213 -0.0936)
OKLCHoklch(44.45% 0.096 257.2)
XYZxyz(8.7850, 8.7217, 24.5083)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5488 #88632F
analogous
#2F8088 #2F5488 #362F88
triadic
#2F5488 #882F54 #54882F
tetradic
#2F5488 #882F80 #88632F #2F8836
square
#2F5488 #882F80 #88632F #2F8836
split-complementary
#2F5488 #88362F #80882F
monochromatic
#101C2D #1F385B #2F5488 #3F70B5 #6790CA

Accessibility & contrast

On white

7.65
#2F5488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5488
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5488#FFFFFF#000000##FFFFFF
##2F54881.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588A
Deuteranopia (green-blind)
#315087
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5488;
/* rgb */ color: rgb(47, 84, 136);
/* oklch */ color: oklch(44.5% 0.096 257.2);
Tailwind
colors: {
  custom: {
    50: '#7183ab',
    500: '#2f5488',
    950: '#000000',
  },
}
SCSS
$custom: #2f5488;
$custom-light: #7183ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5488",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 215.056,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.09599,
    "h": 257.2
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#2F5488
secondary
#B19061
accent
#9F50D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F5488

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

Preview Lab → · Contrast checker → · Palette generator →

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