#2F5596#2F5596

#2F5596 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.115 H 260.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2F5596
RGBrgb(47, 85, 150)
HSLhsl(218, 52%, 39%)
HSVhsv(218, 69%, 59%)
CMYKcmyk(68.7%, 43.3%, 0%, 41.2%)
CIE-LABlab(36.56, 8.89, -39.70)
CIE-LCHlch(36.56, 40.68, 282.62°)
OKLaboklab(45.59% -0.0191 -0.1133)
OKLCHoklch(45.59% 0.115 260.4)
XYZxyz(9.9238, 9.3024, 30.1208)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5596 #96702F
analogous
#2F8896 #2F5596 #3C2F96
triadic
#2F5596 #962F55 #55962F
tetradic
#2F5596 #962F88 #96702F #2F963C
square
#2F5596 #962F88 #96702F #2F963C
split-complementary
#2F5596 #963C2F #88962F
monochromatic
#122039 #203B67 #2F5596 #3F70C3 #6E93D2

Accessibility & contrast

On white

7.34
#2F5596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F5596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5596
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5596#FFFFFF#000000##FFFFFF
##2F55961.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5596;
/* rgb */ color: rgb(47, 85, 150);
/* oklch */ color: oklch(45.6% 0.115 260.4);
Tailwind
colors: {
  custom: {
    50: '#7384b5',
    500: '#2f5596',
    950: '#000000',
  },
}
SCSS
$custom: #2f5596;
$custom-light: #7384b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5596",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 217.864,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.11491,
    "h": 260.4
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5596

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

Preview Lab → · Contrast checker → · Palette generator →

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