#2F4C99#2F4C99

#2F4C99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.131 H 265.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2F4C99
RGBrgb(47, 76, 153)
HSLhsl(224, 53%, 39%)
HSVhsv(224, 69%, 60%)
CMYKcmyk(69.3%, 50.3%, 0%, 40%)
CIE-LABlab(34.13, 15.99, -45.40)
CIE-LCHlch(34.13, 48.13, 289.40°)
OKLaboklab(43.79% -0.0097 -0.1302)
OKLCHoklch(43.79% 0.131 265.7)
XYZxyz(9.5045, 8.0722, 31.1880)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C99 #997C2F
analogous
#2F8199 #2F4C99 #472F99
triadic
#2F4C99 #992F4C #4C992F
tetradic
#2F4C99 #992F81 #997C2F #2F9947
square
#2F4C99 #992F81 #997C2F #2F9947
split-complementary
#2F4C99 #99472F #81992F
monochromatic
#121D3B #21356A #2F4C99 #4165C5 #6F8BD3

Accessibility & contrast

On white

8.03
#2F4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C99
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C99#FFFFFF#000000##FFFFFF
##2F4C991.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#004C97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4c99;
/* rgb */ color: rgb(47, 76, 153);
/* oklch */ color: oklch(43.8% 0.131 265.7);
Tailwind
colors: {
  custom: {
    50: '#747db8',
    500: '#2f4c99',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c99;
$custom-light: #747db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c99",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 223.585,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43785,
    "c": 0.13059,
    "h": 265.7
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#2F4C99
secondary
#BAA469
accent
#B54BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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