#2F5597#2F5597

#2F5597 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.116 H 260.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2F5597
RGBrgb(47, 85, 151)
HSLhsl(218, 53%, 39%)
HSVhsv(218, 69%, 59%)
CMYKcmyk(68.9%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.62, 9.27, -40.20)
CIE-LCHlch(36.62, 41.26, 282.98°)
OKLaboklab(45.65% -0.0189 -0.1148)
OKLCHoklch(45.65% 0.116 260.6)
XYZxyz(10.0047, 9.3347, 30.5467)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5597 #97712F
analogous
#2F8997 #2F5597 #3D2F97
triadic
#2F5597 #972F55 #55972F
tetradic
#2F5597 #972F89 #97712F #2F973D
square
#2F5597 #972F89 #97712F #2F973D
split-complementary
#2F5597 #973D2F #89972F
monochromatic
#12203A #203B68 #2F5597 #4070C3 #6E93D2

Accessibility & contrast

On white

7.32
#2F5597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F5597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5597
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5597#FFFFFF#000000##FFFFFF
##2F55971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5597;
/* rgb */ color: rgb(47, 85, 151);
/* oklch */ color: oklch(45.7% 0.116 260.6);
Tailwind
colors: {
  custom: {
    50: '#7484b6',
    500: '#2f5597',
    950: '#000000',
  },
}
SCSS
$custom: #2f5597;
$custom-light: #7484b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5597",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 218.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.11634,
    "h": 260.6
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#2F5597
secondary
#B99C68
accent
#A74CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5597

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

Preview Lab → · Contrast checker → · Palette generator →

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