#2F499C#2F499C

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

Color values

HEX#2F499C
RGBrgb(47, 73, 156)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 70%, 61%)
CMYKcmyk(69.9%, 53.2%, 0%, 38.8%)
CIE-LABlab(33.50, 19.13, -48.24)
CIE-LCHlch(33.50, 51.90, 291.63°)
OKLaboklab(43.37% -0.0066 -0.1386)
OKLCHoklch(43.37% 0.139 267.3)
XYZxyz(9.5535, 7.7688, 32.4421)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F499C #9C822F
analogous
#2F809C #2F499C #4B2F9C
triadic
#2F499C #9C2F49 #499C2F
tetradic
#2F499C #9C2F80 #9C822F #2F9C4B
square
#2F499C #9C2F80 #9C822F #2F9C4B
split-complementary
#2F499C #9C4B2F #809C2F
monochromatic
#131D3E #21336D #2F499C #4262C6 #7189D4

Accessibility & contrast

On white

8.22
#2F499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F499C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F499C#FFFFFF#000000##FFFFFF
##2F499C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f499c;
/* rgb */ color: rgb(47, 73, 156);
/* oklch */ color: oklch(43.4% 0.139 267.3);
Tailwind
colors: {
  custom: {
    50: '#757bba',
    500: '#2f499c',
    950: '#000000',
  },
}
SCSS
$custom: #2f499c;
$custom-light: #757bba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f499c",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 225.688,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43369,
    "c": 0.1388,
    "h": 267.3
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F499C

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

Preview Lab → · Contrast checker → · Palette generator →

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