#2F5496#2F5496

#2F5496 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.4% C 0.116 H 261.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2F5496
RGBrgb(47, 84, 150)
HSLhsl(218, 52%, 39%)
HSVhsv(218, 69%, 59%)
CMYKcmyk(68.7%, 44%, 0%, 41.2%)
CIE-LABlab(36.26, 9.55, -40.17)
CIE-LCHlch(36.26, 41.29, 283.37°)
OKLaboklab(45.36% -0.0181 -0.1147)
OKLCHoklch(45.36% 0.116 261)
XYZxyz(9.8457, 9.1460, 30.0947)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5496 #96712F
analogous
#2F8796 #2F5496 #3E2F96
triadic
#2F5496 #962F54 #54962F
tetradic
#2F5496 #962F87 #96712F #2F963E
square
#2F5496 #962F87 #96712F #2F963E
split-complementary
#2F5496 #963E2F #87962F
monochromatic
#122039 #203A67 #2F5496 #3F6FC3 #6E92D2

Accessibility & contrast

On white

7.42
#2F5496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F5496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5496
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5496#FFFFFF#000000##FFFFFF
##2F54961.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A99
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5496;
/* rgb */ color: rgb(47, 84, 150);
/* oklch */ color: oklch(45.4% 0.116 261.0);
Tailwind
colors: {
  custom: {
    50: '#7383b5',
    500: '#2f5496',
    950: '#000000',
  },
}
SCSS
$custom: #2f5496;
$custom-light: #7383b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5496",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 150
  },
  "hsl": {
    "h": 218.447,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.11613,
    "h": 261
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5496

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

Preview Lab → · Contrast checker → · Palette generator →

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