#2F4E99#2F4E99

#2F4E99 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.128 H 264.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2F4E99
RGBrgb(47, 78, 153)
HSLhsl(222, 53%, 39%)
HSVhsv(222, 69%, 60%)
CMYKcmyk(69.3%, 49%, 0%, 40%)
CIE-LABlab(34.71, 14.65, -44.48)
CIE-LCHlch(34.71, 46.83, 288.23°)
OKLaboklab(44.22% -0.0116 -0.1275)
OKLCHoklch(44.22% 0.128 264.8)
XYZxyz(9.6444, 8.3521, 31.2347)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E99 #997A2F
analogous
#2F8399 #2F4E99 #452F99
triadic
#2F4E99 #992F4E #4E992F
tetradic
#2F4E99 #992F83 #997A2F #2F9945
square
#2F4E99 #992F83 #997A2F #2F9945
split-complementary
#2F4E99 #99452F #83992F
monochromatic
#121E3B #21366A #2F4E99 #4167C5 #6F8DD3

Accessibility & contrast

On white

7.86
#2F4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E99
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E99#FFFFFF#000000##FFFFFF
##2F4E991.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f4e99;
/* rgb */ color: rgb(47, 78, 153);
/* oklch */ color: oklch(44.2% 0.128 264.8);
Tailwind
colors: {
  custom: {
    50: '#747fb7',
    500: '#2f4e99',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e99;
$custom-light: #747fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e99",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 222.453,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.12801,
    "h": 264.8
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#2F4E99
secondary
#BAA369
accent
#B24BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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