#2F5599#2F5599

#2F5599 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.119 H 261.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F5599
RGBrgb(47, 85, 153)
HSLhsl(218, 53%, 39%)
HSVhsv(218, 69%, 60%)
CMYKcmyk(69.3%, 44.4%, 0%, 40%)
CIE-LABlab(36.74, 10.02, -41.21)
CIE-LCHlch(36.74, 42.41, 283.66°)
OKLaboklab(45.79% -0.0185 -0.1178)
OKLCHoklch(45.79% 0.119 261.1)
XYZxyz(10.1685, 9.4002, 31.4094)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5599 #99732F
analogous
#2F8A99 #2F5599 #3E2F99
triadic
#2F5599 #992F55 #55992F
tetradic
#2F5599 #992F8A #99732F #2F993E
square
#2F5599 #992F8A #99732F #2F993E
split-complementary
#2F5599 #993E2F #8A992F
monochromatic
#12213B #213B6A #2F5599 #4170C5 #6F93D3

Accessibility & contrast

On white

7.29
#2F5599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F5599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5599
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5599#FFFFFF#000000##FFFFFF
##2F55991.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5599;
/* rgb */ color: rgb(47, 85, 153);
/* oklch */ color: oklch(45.8% 0.119 261.1);
Tailwind
colors: {
  custom: {
    50: '#7484b7',
    500: '#2f5599',
    950: '#000000',
  },
}
SCSS
$custom: #2f5599;
$custom-light: #7484b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5599",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 218.491,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.11921,
    "h": 261.1
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#2F5599
secondary
#BA9D69
accent
#A84BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5599

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

Preview Lab → · Contrast checker → · Palette generator →

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