#2F499D#2F499D

#2F499D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.140 H 267.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2F499D
RGBrgb(47, 73, 157)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 70%, 62%)
CMYKcmyk(70.1%, 53.5%, 0%, 38.4%)
CIE-LABlab(33.57, 19.50, -48.73)
CIE-LCHlch(33.57, 52.49, 291.81°)
OKLaboklab(43.45% -0.0065 -0.1401)
OKLCHoklch(43.45% 0.14 267.3)
XYZxyz(9.6385, 7.8028, 32.8899)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F499D #9D832F
analogous
#2F809D #2F499D #4C2F9D
triadic
#2F499D #9D2F49 #499D2F
tetradic
#2F499D #9D2F80 #9D832F #2F9D4C
square
#2F499D #9D2F80 #9D832F #2F9D4C
split-complementary
#2F499D #9D4C2F #809D2F
monochromatic
#131D3F #21336E #2F499D #4362C7 #7289D5

Accessibility & contrast

On white

8.20
#2F499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F499D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F499D#FFFFFF#000000##FFFFFF
##2F499D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f499d;
/* rgb */ color: rgb(47, 73, 157);
/* oklch */ color: oklch(43.4% 0.140 267.3);
Tailwind
colors: {
  custom: {
    50: '#757bbb',
    500: '#2f499d',
    950: '#000000',
  },
}
SCSS
$custom: #2f499d;
$custom-light: #757bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f499d",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 225.818,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.14022,
    "h": 267.3
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#2F499D
secondary
#BCA96B
accent
#BB4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2F499D

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

Preview Lab → · Contrast checker → · Palette generator →

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