#2F4599#2F4599

#2F4599 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.140 H 268.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2F4599
RGBrgb(47, 69, 153)
HSLhsl(228, 53%, 39%)
HSVhsv(228, 69%, 60%)
CMYKcmyk(69.3%, 54.9%, 0%, 40%)
CIE-LABlab(32.17, 20.68, -48.58)
CIE-LCHlch(32.17, 52.80, 293.07°)
OKLaboklab(42.3% -0.0032 -0.1397)
OKLCHoklch(42.3% 0.14 268.7)
XYZxyz(9.0482, 7.1596, 31.0359)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4599 #99832F
analogous
#2F7A99 #2F4599 #4E2F99
triadic
#2F4599 #992F45 #45992F
tetradic
#2F4599 #992F7A #99832F #2F994E
square
#2F4599 #992F7A #99832F #2F994E
split-complementary
#2F4599 #994E2F #7A992F
monochromatic
#121B3B #21306A #2F4599 #415CC5 #6F84D3

Accessibility & contrast

On white

8.63
#2F4599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F4599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4599
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4599#FFFFFF#000000##FFFFFF
##2F45991.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4599;
/* rgb */ color: rgb(47, 69, 153);
/* oklch */ color: oklch(42.3% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#7578b8',
    500: '#2f4599',
    950: '#000000',
  },
}
SCSS
$custom: #2f4599;
$custom-light: #7578b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4599",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 227.547,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.13972,
    "h": 268.7
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#2F4599
secondary
#BAAA69
accent
#BE4BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4599

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

Preview Lab → · Contrast checker → · Palette generator →

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