#2F499F#2F499F

#2F499F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.143 H 267.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2F499F
RGBrgb(47, 73, 159)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 70%, 62%)
CMYKcmyk(70.4%, 54.1%, 0%, 37.6%)
CIE-LABlab(33.71, 20.26, -49.70)
CIE-LCHlch(33.71, 53.67, 292.18°)
OKLaboklab(43.6% -0.0063 -0.1429)
OKLCHoklch(43.6% 0.143 267.5)
XYZxyz(9.8107, 7.8717, 33.7965)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F499F #9F852F
analogous
#2F819F #2F499F #4D2F9F
triadic
#2F499F #9F2F49 #499F2F
tetradic
#2F499F #9F2F81 #9F852F #2F9F4D
square
#2F499F #9F2F81 #9F852F #2F9F4D
split-complementary
#2F499F #9F4D2F #819F2F
monochromatic
#131E41 #213370 #2F499F #4462C8 #738AD6

Accessibility & contrast

On white

8.16
#2F499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F499F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F499F#FFFFFF#000000##FFFFFF
##2F499F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f499f;
/* rgb */ color: rgb(47, 73, 159);
/* oklch */ color: oklch(43.6% 0.143 267.5);
Tailwind
colors: {
  custom: {
    50: '#767bbc',
    500: '#2f499f',
    950: '#000000',
  },
}
SCSS
$custom: #2f499f;
$custom-light: #767bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f499f",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 226.071,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43603,
    "c": 0.14307,
    "h": 267.5
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#2F499F
secondary
#BDAB6D
accent
#BB4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2F499F

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

Preview Lab → · Contrast checker → · Palette generator →

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