#2F5499#2F5499

#2F5499 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.120 H 261.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2F5499
RGBrgb(47, 84, 153)
HSLhsl(219, 53%, 39%)
HSVhsv(219, 69%, 60%)
CMYKcmyk(69.3%, 45.1%, 0%, 40%)
CIE-LABlab(36.45, 10.67, -41.68)
CIE-LCHlch(36.45, 43.03, 284.36°)
OKLaboklab(45.56% -0.0175 -0.1192)
OKLCHoklch(45.56% 0.12 261.6)
XYZxyz(10.0903, 9.2439, 31.3833)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5499 #99742F
analogous
#2F8999 #2F5499 #3F2F99
triadic
#2F5499 #992F54 #54992F
tetradic
#2F5499 #992F89 #99742F #2F993F
square
#2F5499 #992F89 #99742F #2F993F
split-complementary
#2F5499 #993F2F #89992F
monochromatic
#12213B #213A6A #2F5499 #416FC5 #6F92D3

Accessibility & contrast

On white

7.37
#2F5499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F5499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5499
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5499#FFFFFF#000000##FFFFFF
##2F54991.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#205198
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5499;
/* rgb */ color: rgb(47, 84, 153);
/* oklch */ color: oklch(45.6% 0.120 261.6);
Tailwind
colors: {
  custom: {
    50: '#7483b7',
    500: '#2f5499',
    950: '#000000',
  },
}
SCSS
$custom: #2f5499;
$custom-light: #7483b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5499",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 219.057,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.12044,
    "h": 261.6
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#2F5499
secondary
#BA9E69
accent
#AA4BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5499

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

Preview Lab → · Contrast checker → · Palette generator →

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